cheniour ghassen
2014-Apr-22 16:31 UTC
[Puppet Users] augeas with puppet : cannot update line
Hi everyone, I am new in puppet. In fact i am trying to update bind-address in the mysql file '/etc/mysql/my.cnf i wrote the this code in manifests/nodes.pp augeas { 'update-bind-address':>> context => '/files/etc/mysql/my.cnf', >> changes => ['setbind-adress 192.168.80.135'], >> } >> >when i tape the papply command : puppet ignore this code and do not compile it. I tried other examples by changing the files but puppet keeps ignoring them. The only example that works is this one augeas { 'enable-ip-forwarding':>> context => '/files/etc/sysctl.conf', >> changes => ['set net.ipv4.ip_forward 1'], >> } >> >I really don't know what is going on here. I have quite a while now. Any help would be apperciated.Thanks. sincerely, ghassen Cheniour -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f335c2d7-b41f-4d65-9a83-0bdc65ac23dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.