Class: PuppetGenerator::Ui::Create
- Inherits:
-
Thor
- Object
- Thor
- PuppetGenerator::Ui::Create
- Defined in:
- lib/puppet_generator/ui/create.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
4 5 6 |
# File 'lib/puppet_generator/ui/create.rb', line 4 def self.exit_on_failure? true end |
Instance Method Details
#file ⇒ Object
26 27 28 |
# File 'lib/puppet_generator/ui/create.rb', line 26 def file PuppetGenerator::Api.new.generate_file_definition() end |
#module ⇒ Object
42 43 44 |
# File 'lib/puppet_generator/ui/create.rb', line 42 def module PuppetGenerator::Api.new.generate_module() end |
#package ⇒ Object
15 16 17 |
# File 'lib/puppet_generator/ui/create.rb', line 15 def package PuppetGenerator::Api.new.generate_package_definition() end |
#role ⇒ Object
53 54 55 |
# File 'lib/puppet_generator/ui/create.rb', line 53 def role PuppetGenerator::Api.new.generate_role_definition() end |
#user ⇒ Object
37 38 39 |
# File 'lib/puppet_generator/ui/create.rb', line 37 def user PuppetGenerator::Api.new.generate_user_definition() end |