File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,18 @@ ezbake: {
38
38
" fi",
39
39
" /sbin/service puppetdb start > /dev/null 2>&1",
40
40
" fi)"
41
- ]
41
+ ],
42
+ postinst-install: [
43
+ "find /etc/puppetlabs/puppetdb/conf.d/ -type f -name '*.ini' -exec chown {{user}}: {} \\; -exec chmod 600 {} \\; ||:"
44
+ ],
42
45
},
43
46
debian: { dependencies: ["puppet-agent (>= 5.99.0)"],
44
47
preinst: ["if [ \"$1\" = upgrade ] && [ \"${2%%.*}\" -le 2 ] ; then tar -czf /tmp/puppetdb-upgrade-config-files.tgz -C /etc/puppetdb/conf.d config.ini database.ini jetty.ini ; fi"],
45
48
postinst: ["/opt/puppetlabs/server/bin/puppetdb config-migration",
46
- "/opt/puppetlabs/server/bin/puppetdb ssl-setup"] }
49
+ "/opt/puppetlabs/server/bin/puppetdb ssl-setup"],
50
+ postinst-install: [
51
+ "find /etc/puppetlabs/puppetdb/conf.d/ -type f -name '*.ini' -exec chown {{user}}: {} \\; -exec chmod 600 {} \\;"
52
+ ],
53
+ }
47
54
}
48
55
}
You can’t perform that action at this time.
0 commit comments