owner => 'SYSTEM',
group => 'Administrators',
mode => '0775',
acl { 'chocolatey.config':
target => 'C:/ProgramData/chocolatey/config/chocolatey.config',
purge => false,
permissions => [
{
identity => 'SYSTEM',
rights => [
'full'],
perm_type => 'allow',
child_types => 'all',
affects => 'all'
}
,
{
identity => 'Administrators',
rights => [
'full'],
perm_type => 'allow',
child_types => 'all',
affects => 'all'
}
,
{
identity => 'Users',
rights => [
'read',
'execute'],
perm_type => 'allow',
child_types => 'all',
affects => 'all'
}
],
owner => 'SYSTEM', # Creator_Owner specific, doesn't manage unless specified
group => 'Administrators', # Creator_Group specific, doesn't manage unless specified
inherit_parent_permissions => true,
require => File['chocolatey.config'],
}
Could not evaluate: The parameter is incorrect. - ReportEvent
However, I get errors:
Could not evaluate: The parameter is incorrect. - ReportEvent
This doesn't really help me figure out what I did wrong here...
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a49f14bc-6804-4ba8-a033-752a6da2a9cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["mask_specific"], mask => '2032063', affects => 'self_only' },
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["write", "read", "execute"], affects => 'self_only' },
{ identity => 'Everyone', rights => ["read", "execute"], affects => 'self_only' }
] to [
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
{ identity => 'BUILTIN\Administrators', rights => ["full"], affects => 'self_only' },
{ identity => 'BUILTIN\Users', rights => ["read", "execute"], affects => 'self_only' },
{ identity => 'Everyone', rights => ["read", "execute"], affects => 'self_only' }
] [0m
[1;31mError: /Stage[main]/Yum/Acl[chocolatey.config]: Could not evaluate: The parameter is incorrect. - ReportEvent
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only' },
repeats several hundred times that I didn't bother to paste here.Enter code here... acl { 'chocolatey.config':
target => 'C:/ProgramData/chocolatey/config/chocolatey.config',
permissions => [
{
identity => 'SYSTEM',
rights => [
'full']
}
,
{
identity => 'Administrators',
rights => [
'full']
}
,
{
identity => 'Users',
rights => [
'read',
'execute']
}
],
require => File['chocolatey.config'],
}
target=>
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d944ede0-c388-4669-b433-866dc495a667%40googlegroups.com.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/155fa6b9-2819-4b25-a311-a65a7094e895%40googlegroups.com.
class yum ($choco_repo_url, $choco_repo_name) {
schedule { 'monday_updates':
range => '22:00 - 12:00',
weekday => 'Monday',
}
schedule { 'tuesday_updates':
range => '10:00 - 12:00',
weekday => 'Tuesday',
}
schedule { 'daily_updates':
period => daily,
range => '22:00-3:00',
}
define repo {
file { "${title}":
path => "/etc/yum.repos.d/${title}",
source => "puppet:///modules/${caller_module_name}/${title}",
ensure => 'present',
owner => root,
group => root,
mode => "644",
notify => Exec["yum-clean-all"],
}
}
case $kernel {
'linux' : {
package { 'yum': ensure => present, }
package { 'yum-autoupdate': ensure => present, }
repo { "sl-classe.repo": }
file { "sl-classe-testing":
content => template('yum/sl-classe-testing.repo.erb'),
path => "/etc/yum.repos.d/sl-classe-testing.repo",
owner => root,
group => root,
mode => 644,
ensure => present,
notify => Exec["yum-clean-all"],
}
file { "yum.conf":
source => "puppet:///modules/yum/yum.conf",
path => "/etc/yum.conf",
owner => root,
group => root,
mode => 644,
ensure => present,
}
file { "sl-lepp":
path => "/etc/yum.repos.d/sl-lepp.repo",
ensure => absent,
}
file { "sl-lepp-testing":
path => "/etc/yum.repos.d/sl-lepp-testing.repo",
ensure => absent,
}
exec { "yum-clean-all":
command => "yum clean all",
refreshonly => true,
}
case $operatingsystemmajrelease {
'6' : {
$sl6repos = ["devtoolset.repo", "sl-other.repo", "sl.repo"]
repo { $sl6repos: }
file { "softwarecollections":
source => "puppet:///modules/yum/sl6-softwarecollections.repo",
path => "/etc/yum.repos.d/softwarecollections.repo",
owner => root,
group => root,
mode => 644,
ensure => present,
notify => Exec["yum-clean-all"],
}
exec { "yum-autoupdate":
command => "mv /etc/cron.daily/yum-autoupdate /etc/cron.weekly/yum-autoupdate",
onlyif => "[ -f /etc/cron.daily/yum-autoupdate ]",
}
file { "/etc/cron.daily/yum-autoupdate": ensure => absent, }
file { "/etc/cron.weekly/yum-autoupdate": ensure => present, }
Exec['yum-autoupdate'] -> File['/etc/cron.daily/yum-autoupdate'] -> File['/etc/cron.weekly/yum-autoupdate']
}
'7' : {
packages::removepackage { "yum-conf-sl7x": }
$sl7repos = [
"sl7-other.repo",
"sl7.repo",
"sl-extras.repo",
"sl7-security.repo",
"sl7-fastbugs.repo",
"sl7-rolling.repo",
"sl7-testing.repo"]
repo { $sl7repos: }
file { "softwarecollections":
source => "puppet:///modules/yum/sl7-softwarecollections.repo",
path => "/etc/yum.repos.d/sl-softwarecollections.repo",
owner => root,
group => root,
mode => 644,
ensure => present,
notify => Exec["yum-clean-all"],
}
exec { "yum-autoupdate":
command => "mv /etc/cron.daily/0yum-daily.cron /etc/cron.weekly/0yum-daily.cron",
onlyif => "[ -f /etc/cron.daily/0yum-daily.cron ]",
}
file { "/etc/cron.daily/0yum-daily.cron": ensure => absent, }
file { "/etc/cron.weekly/0yum-daily.cron": ensure => present, }
Exec['yum-autoupdate'] -> File['/etc/cron.daily/0yum-daily.cron'] -> File['/etc/cron.weekly/0yum-daily.cron']
}
}
}
'windows' : {
exec { 'chocolatelyinstall':
command => '$((iex ((new-object net.webclient).DownloadString("https://chocolatey.org/install.ps1")))>$null 2>&1)',
unless => 'if (Test-Path C:\ProgramData\chocolatey){ exit 0 } else { exit 1}',
provider => powershell,
}
file { 'chocolatey.config':
path => "C:/ProgramData/chocolatey/config/chocolatey.config",
content => template('yum/chocolatey.config.erb'),
ensure => present,
}
acl { 'C:/ProgramData/chocolatey/config/chocolatey.config':
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/84a989dc-bf77-43a9-82d1-800ae3b5b73b%40googlegroups.com.
...
Puppet 3.8.1 on Windows currently. puppet module list doesn't return anything for me. I'm downloading the zip file and unzipping the module into a folder. I then copy the folder into my local dev modules directory using Geppeto, and doing the same for any dependencies. I then check into our SVN the modules, and tag them with the version they are from forge if public, or an internal version for our custom modules. I then check out the tag or svn switch to the latest tag on the puppet server dev module directory.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d0b1c436-de6f-47fb-912c-c28ea91e039b%40googlegroups.com.
...
...
...
Hmm, so on one test computer, the upgrade to puppet 3.8.3 fixed the issue. On the second test computer, it didn't - everything remains the same, but getting the same repeated ACE...
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c3e9e2e7-03d3-4bca-ae85-4644ca8e4b75%40googlegroups.com.
...
...
Ok, well, it was on one test computer. On others it's giving the same error, but I think the parameter issue is actually specific to the existing file / permissions. I moved the file and re-ran puppet, which as part of the manifest re-created the file and could set permissions fine. It seems like there is some issue with a certain permissions set that causes me issues with ACL module. Specifically, the original file doesn't have any user permissions set. I'm wondering if that is the issue?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c22bcfb6-b70e-48fd-8b83-4b07fccd3db9%40googlegroups.com.