Hi All,

I have running puppet client and server on solaris 10 x86.

Now days some of puppet client behaviors is something weird !!! or May
be i am missing something...

for ex.

I created class to add one line in /etc/vfstab . but  puppet client
did it successfully 1st time ...But .. After few days ,  i saw there
are same line has been added more than 250 times..  [ see same line is
added so many times ]

I dont understand if once it is already added line in /etc/fstab why
it is adding every time....

----------------------logadd.pp------------------
class  logadd {

   file { "/tmp/logadd.sh":
         ensure => present,
         mode   => 755,
         owner  => root,
         group  => sys,
source => "puppet://test1t/files/common//logadd.sh"
}

exec { "sh /tmp/logadd.sh":
path => "/usr/bin:/sbin:/bin:/usr/sbin"

}
}

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

bash-3.2# cat logadd.sh
mkdir /mnt/logadd
echo 'zfs22x:/test/logadd     -      /mnt/logadd        nfs
-       yes     intr,vers=3' >> /etc/vfstab
mountall


#cat /etc/vfstab


---removed / boot/ ----
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3
zfs22x:/test/logadd     -      /mnt/logadd        nfs     -
yes     intr,vers=3


thanks in adv ....

Regards
Vipul Ramani

~~~ FrEE Ur M1nd ~~~~

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to