-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
position parameter does not work #3
Comments
If the entry already exists, On Thu, 7 May 2015 22:31 Michael Marod notifications@github.com wrote:
|
Ah ok -- Well I tried positioned and am getting this error...
I have version 2.1.1 of the augeasproviders_core module and 4.6.0 of puppetlabs/stdlib and pluginsync is enabled... Any idea which module has the in_position? function? |
That is quite weird. |
I seem to have a similar issue trying to insert pam line at the end of account chain With both cases below, the line was added to the end of the file instead of where I expected Tried this: pam { "puppet_pam_auth":
ensure => positioned,
service => 'sshd',
type => 'account',
control => 'sufficient',
module => 'pam_pbssimpleauth.so',
position => 'before *[type="session"]'
} Then tried this with same result: pam { "puppet_pam_auth":
ensure => positioned,
service => 'sshd',
type => 'account',
control => 'sufficient',
module => 'pam_pbssimpleauth.so',
position => 'before module pam_selinux.so'
} Result from both:
|
Sor, arriving on debian 11, puppet 7.10 seeing this issue. I like to tinker around with stuff, but this one I have no idea where to start. Lenses are a big voodoo for me. Edit: Sorry, this was my own wrongdoing. I had a mix of old modules and camptocamp augeas, augeasproviders_core and a big mess. Apology. |
I have tried using both XPath and default forms for declaring positions and neither seem to work. I also tried declaring the position param as 'after' on the second pam resource below but that also did not work.
Using Debian 7 / Puppet 3.7.3
The output of this is...
The text was updated successfully, but these errors were encountered: