[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2013-01-02 Thread tickets

Issue #17371 has been updated by Andrew Parker.

Branch changed from https://github.com/puppetlabs/puppet/pull/1316 to 
//github.com/puppetlabs/puppet/pull/1361

Opened a new pull request that includes an acceptance test.

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-79931

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Andrew Parker
Category: settings
Target version: 3.1.0
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: //github.com/puppetlabs/puppet/pull/1361


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-12-20 Thread tickets

Issue #17371 has been updated by Andrew Parker.

Assignee changed from Dominic Cleal to Andrew Parker



Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-79259

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Andrew Parker
Category: settings
Target version: 3.1.0
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: https://github.com/puppetlabs/puppet/pull/1316


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-12-06 Thread tickets

Issue #17371 has been updated by Dominic Cleal.

Branch changed from https://github.com/puppetlabs/puppet/pull/1278 to 
https://github.com/puppetlabs/puppet/pull/1316

I've rebased it onto master and submitted a new PR.

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-78293

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: settings
Target version: 3.1.0
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: https://github.com/puppetlabs/puppet/pull/1316


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-12-05 Thread tickets

Issue #17371 has been updated by Andrew Parker.

Target version changed from 3.0.x to 3.1.0

I'm fine with just treating it as normal.

Now that 3.0.2 is out in RC though we might want to target this at master so 
that it goes into 3.1 since that should now be less than a month away.

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-78238

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: settings
Target version: 3.1.0
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: https://github.com/puppetlabs/puppet/pull/1278


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-14 Thread tickets

Issue #17371 has been updated by Jeff McCune.


Andy, Josh,

Since you guys are neck deep in settings, would you like me to hold off on 
making this change, or are you guys OK with me treating this pull request as 
normal?  I ask just to avoid creating more work for you two.

# RFC for impact data

Everyone else,

Is this issue more of an annoyance, or is it a serious blocker for anyone?  
This will help me understand if I can hold off on this issue while Andy and 
Josh get a handle on the settings and code loading, or if there needs to be a 
higher sense of urgency.

Thanks,
-Jeff

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-76563

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: settings
Target version: 3.0.x
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: https://github.com/puppetlabs/puppet/pull/1278


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-14 Thread tickets

Issue #17371 has been updated by Andreas Ntaflos.


Jeff, we use Foreman for provisioning of machines, and Foreman (or its smart 
proxy) needs to update autosign.conf for provisioning to work. The canonical 
way of letting Foreman do that was to set `mode = 0664` on autosign.conf and 
add the Foreman proxy user to the puppet group (`adduser foreman-proxy 
puppet`). 

This doesn't work at the moment, but we work around it by doing a `chown 
foreman-proxy /etc/puppet/autosign.conf`, so that the Foreman proxy user owns 
the file and can thus write to it. I suppose it is because of this bug the 
ownership does not get reset.

So for us this is really more of an annoyance than a blocker, so long as the 
described workaround can be applied.

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-76571

Author: Andreas Ntaflos
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: settings
Target version: 3.0.x
Affected Puppet version: 3.0.0
Keywords: settings mode permissions run_mode
Branch: https://github.com/puppetlabs/puppet/pull/1278


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-12 Thread tickets

Issue #17371 has been updated by Greg Sutcliffe.


I'm seeing this too, but even just using mode doesn't work:

root# grep autosign /etc/puppet/puppet.conf
autosign   = /etc/puppet/autosign.conf { mode = 664 }

root@foreman:~# puppet master -v -o --no-daemonize -d|grep sign
Debug: Using settings: adding file resource 'autosign': 
'File[/etc/puppet/autosign.conf]{:ensure=:file, :backup=false, 
:loglevel=:debug, :mode=644,   
:path=/etc/puppet/autosign.conf, :links=:follow}'

It's definitely ignoring the setting. OS is Debian Squeeze, Ruby 1.8.7, Puppet 
3.0.1

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-76198

Author: Andreas Ntaflos
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.1
Keywords: 
Branch: 


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-08 Thread tickets

Issue #17371 has been updated by Per Cederqvist.


As I said in https://projects.puppetlabs.com/issues/16873 this also happens on 
Debian.

Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-76093

Author: Andreas Ntaflos
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.1
Keywords: 
Branch: 


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-01 Thread tickets

Issue #17371 has been updated by eric sorenson.

Project changed from Puppet Community Package Repository to Puppet



Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-75549

Author: Andreas Ntaflos
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #17371] Setting owner, group, mode for files specified in puppet.conf no longer seems to work

2012-11-01 Thread tickets

Issue #17371 has been updated by Andrew  Parker.

Affected Puppet version set to 3.0.1



Bug #17371: Setting owner, group, mode for files specified in puppet.conf no 
longer seems to work
https://projects.puppetlabs.com/issues/17371#change-75553

Author: Andreas Ntaflos
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.1
Keywords: 
Branch: 


It seems that setting owner, group and mode for files in puppet.conf by using 
the following method, as explained in the configuration guide, no longer works 
in Puppet 3.0 (using Puppet 3.0.1 here on Ubuntu 12.04):

/etc/puppet/puppet.conf:

[master]
...
autosign = /etc/puppet/autosign.conf { owner = puppet, group = puppet, mode 
= 0664 }

The settings specified in the curly braces do not get applied to the file. 

Instead, after changing the mode manually (`chmod 0664 
/etc/puppet/autosign.conf`) it is reset to 0644 after a request to the 
puppetmaster comes in. Interestingly it seems that when manually changing the 
owner of the file it stays changed, even after a request comes in that triggers 
the manually changed mode to be reset.

And as nfagerlund observed on IRC it seems that specifying an owner keeps the 
mode setting from working. Setting a mode alone, i.e. `autosign = 
/etc/puppet/autosign.conf { mode = 0664 }` works.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.