Issue #5525 has been reported by Greg Boug.

----------------------------------------
Bug #5525: Puppet detecting changes in things that haven't changed
https://projects.puppetlabs.com/issues/5525

Author: Greg Boug
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.4
Keywords: 
Branch: 


Puppet appears to be having a problem detecting changes in some situations. 

I have the following configuration item:

  ssh_authorized_key { "script":
    ensure => present,
    key => "key goes here",
    type => "ssh-rsa",
    user => "username",
    target => "$basehomedir/username/.ssh/authorized_keys",
    schedule => daily,
    require => User["username"],
    options => 
'command="/usr/local/sbin/backup.pl",from="master.domain.com",no-port-forwarding,no-pty,no-agent-forwarding',
  }

I'm then getting log messages like this:

Dec 13 12:04:07 s_lo...@client puppet-agent[13917]: [ID 702911 daemon.notice] 
(/Stage[main]/Accounts/Ssh_authorized_key[script]/options) options changed 
'command="/usr/local/sbin/backup.pl",from="master.domain.com",no-port-forwarding,no-pty,no-agent-forwarding'
 to 
'command="/usr/local/sbin/backup.pl",from="master.domain.com",no-port-forwarding,no-pty,no-agent-forwarding'

I have confirmed this issue on 0.25.1 and 2.6.4. 

I'm suspecting that its having issues with the double quotes inside the options 
string perhaps? 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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

Reply via email to