Puppet, Run puppet manifest without puppetmaster
Maniefest 'TEST':
1. Create directory structure like this:
./puppet/
├── manifests
│ └── site.pp
└── modules
└── test
├── files
└── manifests
└── init.pp
Run:
$ mkdir -pv ~/puppet/manifests ~/puppet/modules/test/files
~/puppet/modules/test/manifests
2. Create manifest with name test
RUN:
$ vim ~/puppet/modules/test/manifests/init.pp
# and add next
class test {
file{ '/tmp/test1111111111111111':
ensure => present,
}
file {'/tmp/tst.ts111111111111':
ensure => present,
}
}
Run puppet:
$ puppet apply --modulepath=~/puppet/modules/ -e "include test"
Install new module:
RUN:
puppet module install maestrodev-jenkins --modulepath=~//puppet/modules/
Happy testing ...
~
~
~
Maniefest 'TEST':
1. Create directory structure like this:
./puppet/
├── manifests
│ └── site.pp
└── modules
└── test
├── files
└── manifests
└── init.pp
Run:
$ mkdir -pv ~/puppet/manifests ~/puppet/modules/test/files
~/puppet/modules/test/manifests
2. Create manifest with name test
RUN:
$ vim ~/puppet/modules/test/manifests/init.pp
# and add next
class test {
file{ '/tmp/test1111111111111111':
ensure => present,
}
file {'/tmp/tst.ts111111111111':
ensure => present,
}
}
Run puppet:
$ puppet apply --modulepath=~/puppet/modules/ -e "include test"
Install new module:
RUN:
puppet module install maestrodev-jenkins --modulepath=~//puppet/modules/
Happy testing ...
~
~
~