I've pulled down the Puppet VM for Vmware;

-----------------------------------------------------------------------------------------------

I've run this file and it worked!

[root@learn learning-manifests]# cat 1.file.pp

file {'testfile':

        path                      => '/tmp/testfile',

        ensure              => present,

        mode          => 0640,

        content => "I'm a test file. \n",

}

-----------------------------------------------------------------------------------------------------


I've tried These commands:


puppet apply init.pp

puppet apply file.pp

puppet apply base.pp

puppet apply ssl.pp


 They did not seem to do anything. After I downloaded the Modules, HERE:

/etc/puppetlabs/puppet/modules


total 28

drwxr-xr-x 6 root    root      4096 May  4 15:11 ..

drwxr-xr-x 8 root   games     4096 May  4 15:06 apache

drwxr-xr-x 4 root    root      4096 May  4 14:55 firewall

drwxr-xr-x 5 root    pe-puppet 4096 May  4 14:51 .

drwxrwxr-x 6 peadmin root      4096 May  4 14:41 apache_httpd


SHOULD I HAVE DONE SOMETHING ELSE TO SEE HTTPD, GET PULLED DOWN AND STARTED.


I'm going to read the book puppet pro next to search for a different way.


----------------------------------------------------------------------------------------------------------------

from factor:


kernel => Linux

kernelmajversion => 2.6

kernelrelease => 2.6.18-274.el5

kernelversion => 2.6.18

lsbdistcodename => Final

lsbdistdescription => CentOS release 5.7 (Final)

lsbdistid => CentOS

lsbdistrelease => 5.7


Thanks, Tony.

Reply via email to