Commit a343765fb70741093442afefd21a24b77acef588

Authored by Charles Oliveira
1 parent a8037785

Removed return 0 at end of main

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
puppet/bootstrap.py
... ... @@ -151,7 +151,7 @@ def main():
151 151 result = subprocess.call(install)
152 152 if result != 0:
153 153 print('Failed installing puppet')
154   - return result
  154 + exit(result)
155 155  
156 156 if os.path.isfile('/vagrant/puppet/hiera.yaml'):
157 157 copyfile('/vagrant/puppet/hiera.yaml', '/etc/puppet/hiera.yaml')
... ... @@ -159,7 +159,6 @@ def main():
159 159 locale.setlocale(locale.LC_ALL, '')
160 160  
161 161 install_puppet_modules()
162   - return 0
163 162  
164 163  
165 164 if __name__ == '__main__':
... ...