This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modulepath is /etc/puppetlabs/puppet/modules | |
# helloworld/manifests/init.pp | |
class helloworld { | |
file { '/tmp/hello': | |
ensure => file, | |
source => "puppet:///modules/helloworld/hello", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Classes | |
- - parameterised | |
- - abbreviated_relationships | |
- - exercise_hidd | |
- Defined Resource Types | |
- - overview | |
- usage | |
- example | |
- module_structure | |
- exercise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peadmin@training:~$ mco rpc puppetral create type=user title=elmo ensure=present | |
Determining the amount of hosts matching filter for 2 seconds .... 1 | |
* [ ============================================================> ] 1 / 1 | |
training.puppetlabs.lan | |
Status: Resource was created | |
Resource: {"exported"=>false, | |
"title"=>"elmo", |
NewerOlder