Displaying 9 results from an estimated 9 matches for "need_to_run".
2011 Jun 30
6
puppet autosign by VLAN IP
Hi,
Can puppet autosign work by giving vlan IP instead of domain?
For example, in the autosign.conf file, instead of using
*.mydomain.org, I want to give 172.18.133.*
But it does not seem to work if I give the IP address. But I don''t
want to limit the client from *.mydomain.org by only allow certain
vlan client not all the are in the same domain.
Thanks,
-Haiyan
--
You received this
2010 Jun 30
7
augeas and sudo woes
...()]/host_group/command/runas_user ALL",
],
}
In that example, the command line looked like this:
"set spec[last()]/host_group/command ALL",
I added NOPASSWD: and it barfs with this message:
err: //user::unixadmins/User::Virtual::Sudoer[joe]/Augeas[sudojoe]/
returns: change from need_to_run to 0 failed: Save failed with return
code false
The problem seems to be the colon '':'' since NOPASSWD:ALL also fails
but this doesn''t error:
"set spec[last()]/host_group/command NOPASSWD ALL",
Unfortunately, that doesn''t produce a desirable output....
2010 Jul 27
0
Augeas working inconsistently
...“tag” to it:
sudoentry { "rob":
user => "rmcbroom",
tag => "NOPASSWD",
}
But if the user doesn’t exist and you try to add the entry with “tag” set to something, it fails:
err: //Sudoentry[rob]/Augeas[sudo-rmcbroom]/returns: change from need_to_run to 0 failed: Save failed with return code false
Any guesses? Am I missing something?
(I realize with the define as written, there are potential uniqueness problems for users with multiple entries, etc. It’s a work in progress.)
--
Rob McBroom
<http://www.skurfer.com/>
--
You received th...
2011 Jun 02
1
Managing /etc/fstab options with augeas
...t;]/opt nosuid'',
],
}
I would like to add "nodev" as well but can''t figure out how. When I
simply replace "nosuid" with "nosuid,nodev" it fails with:
err: /Stage[main]/System::Files/Augeas[/etc/fstab]/returns: change from
need_to_run to 0 failed: Save failed with return code false
I have just spent some time in augtool but am still confused. I have
manually changed the options for /apps to defaults,nosuid and this is
augtool''s output:
augtool> print /files/etc/fstab/*[file = "/apps"]
/files/etc/fstab/3...
2010 Oct 22
2
problem w/ puppet & augeus : xinetd.d/rsync server_args value
...with params ["/files/etc/xinetd.d/rsync/rsync/server_args/value",
"--daemon --address=10.101.0.3 --log-file=/var/log/rsyncd.log"]
debug: Augeas[enable rsync service](provider=augeas): Closed the augeas
connection
err: //rsyncd/Augeas[enable rsync service]/returns: change from
need_to_run to 0 failed: Save failed with return code false
notice: //xinetd/Service[xinetd]: Dependency augeas[enable rsync
service] has 1 failures
I have tried many combinations of quotes, including that suggested here
(though, to be clear, i don''t want actual quotes to appear in the file) :
http...
2013 Oct 10
2
Augeas XML trouble
...;host.domain'']/#attribute/ip",
"172.20.20.120"]
debug: Augeas[libvirt-dhcp-config-mysql](provider=augeas): Closed the
augeas connection
/usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:60:in `fail''
/usr/lib/ruby/vendor_ruby/puppet/provider/augeas/augeas.rb:313:in
`need_to_run?''
/usr/lib/ruby/vendor_ruby/puppet/type/augeas.rb:205:in `retrieve''
/usr/lib/ruby/vendor_ruby/puppet/type.rb:720:in `retrieve''
/usr/lib/ruby/vendor_ruby/puppet/type.rb:715:in `each''
/usr/lib/ruby/vendor_ruby/puppet/type.rb:715:in `retrieve''
/usr/lib/ruby...
2010 Jun 02
22
augeas type and /etc/services
Has anyone attempted to use the augeas type to add a service? I got the
service to add no problem, but having some difficulties to get the match to
work to prevent duplicate entries from adding. Since the service-name[*]
has endless number of entries I used a glob so it checks all the entries but
that does not seem to work. Any ideas on how to proceed?
augeas { app_tcp'':
context
2011 Aug 25
6
manage sudoers with augeas
...set spec[user = ''%mail-ops'']/host_group/command[1] \"/bin/su imail
\"",
"set spec[user = ''%mail-ops'']/host_group/command[1]/tag NOPASSWD",
],
}
the error :
err: /Stage[main]/Managesudo::mailops/Augeas[mailops]/returns: change
from need_to_run to 0 failed: Save failed with return code false
the augeas tool doesn''t return anything when I am trying to get the
actual spec
augtool> print /files/etc/sudoers
augtool>
How can I test augtool ?
--
You received this message because you are subscribed to the Google Groups "P...
2009 Mar 02
31
Using Augeas type to update sshd_config's AllowGroups
...the following errors from puppetd:
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
/usr/share/augeas/lenses/sshd.aug:20.7-.37:Short split for concat
err:
//Node[testnode]/ssh/Ssh::Sshd_conf_group[sshuser]/Augeas[sshd_conf_group_sshuser]/returns:
change from need_to_run to 0 failed: Save failed with return code false
notice: Finished catalog run in 9.46 seconds
I also want to add an onlyif to that type so that it only adds the
sshuser group if it doesn''t already exist, but none of these seem to work:
onlyif => "match /files/etc/ssh/sshd_config/...