Skip to content
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

Add ocfenforcer as user #933

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add ocfenforcer as user #933

wants to merge 5 commits into from

Conversation

PotatoParser
Copy link
Contributor

@PotatoParser PotatoParser commented Apr 9, 2020

Fixes #930.

Committer: Wilson Nguyen <[email protected]>
@ocfbot
Copy link
Contributor

ocfbot commented Apr 9, 2020

Errored hosts (0)

Changed hosts (2)

Unaffected hosts (130)


Changed hosts
diff for dev-whiteout.ocf.berkeley.edu, whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
alamo.ocf.berkeley.edu
aliens.ocf.berkeley.edu
anthrax.ocf.berkeley.edu
apocalypse.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blackrain.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
chaos.ocf.berkeley.edu
coma.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
cyclone.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-anthrax.ocf.berkeley.edu
dev-death.ocf.berkeley.edu
dev-dementors.ocf.berkeley.edu
dev-fallingrocks.ocf.berkeley.edu
dev-firestorm.ocf.berkeley.edu
dev-flood.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
fallout.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
fireball.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gnats.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
hozer-67.ocf.berkeley.edu
hozer-70.ocf.berkeley.edu
hozer-72.ocf.berkeley.edu
hozer-73.ocf.berkeley.edu
hozer-74.ocf.berkeley.edu
hozer-80.ocf.berkeley.edu
hozer-81.ocf.berkeley.edu
hurricane.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
koolaid.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
limniceruption.ocf.berkeley.edu
locusts.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
malaria.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
mudslide.ocf.berkeley.edu
nuke.ocf.berkeley.edu
nyx.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
outbreak.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pompeii.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
sauron.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
smallpox.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
y2k.ocf.berkeley.edu
zerg.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

@PotatoParser PotatoParser requested a review from ja5087 April 9, 2020 04:26
Copy link
Member

@jvperrin jvperrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I was going to say something about making it a system user, but turns out that's already done by default now with

User { system => true, groups => ['sys'] }
(#672).

Have you tested this on dev-whiteout to see if it works when printing? It'll be a bit harder with the lab closed, but you can probably still test by sending a print job from a VM and see what CUPS etc. does

@PotatoParser
Copy link
Contributor Author

Just tested on dev-whiteout; it seems to work!
Screenshot (258)

Copy link
Member

@ja5087 ja5087 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, thanks!

Copy link
Member

@cg505 cg505 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work as currently set up. ocfenforcer needs access to the config file at /opt/share/enforcer/enforcer.conf. You can probably just modify the file resources for /opt/share/enforcer and /opt/share/enforcer/enforcer.conf.

@ja5087
Copy link
Member

ja5087 commented Apr 10, 2020

So I deleted a bunch of messages but from some investigation this will cause error reports to fail also (since ocfenforcer doesn't exist on mail). I think adding it as an alias for root to https://github.com/ocf/puppet/blob/master/modules/ocf_mail/files/site_ocf/aliases might work.

See the following log:

Apr  9 19:34:34 dev-whiteout postfix/smtp[32503]: 73AF480E9E: to=<[email protected]>, relay=smtp.ocf.berkeley.edu[2607:f140:8801::1:35]:25, delay=5.9, delays=5.9/0.01/0.01/0.04, dsn=5.1.7, status=bounced (host smtp.ocf.berkeley.edu[2607:f140:8801::1:35] said: 550 5.1.7 <[email protected]>: Sender address rejected: User unknown (in reply to RCPT TO command))

@PotatoParser
Copy link
Contributor Author

Will look into it!

@ocfbot
Copy link
Contributor

ocfbot commented Apr 10, 2020

Errored hosts (0)

Changed hosts (4)

Unaffected hosts (128)


Changed hosts
diff for anthrax.ocf.berkeley.edu, dev-anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
diff for dev-whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -u ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/etc/munin/plugin-conf.d/ocf-plugin-conf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # Set warning at 80% and critical at 90%
       [memory]
      -env.apps_warning :3164412500
      -env.apps_critical :3559964062
      +env.apps_warning :3164403125
      +env.apps_critical :3559953515
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
alamo.ocf.berkeley.edu
aliens.ocf.berkeley.edu
apocalypse.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blackrain.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
chaos.ocf.berkeley.edu
coma.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
cyclone.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-death.ocf.berkeley.edu
dev-dementors.ocf.berkeley.edu
dev-fallingrocks.ocf.berkeley.edu
dev-firestorm.ocf.berkeley.edu
dev-flood.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
fallout.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
fireball.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gnats.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
hozer-67.ocf.berkeley.edu
hozer-70.ocf.berkeley.edu
hozer-72.ocf.berkeley.edu
hozer-73.ocf.berkeley.edu
hozer-74.ocf.berkeley.edu
hozer-80.ocf.berkeley.edu
hozer-81.ocf.berkeley.edu
hurricane.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
koolaid.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
limniceruption.ocf.berkeley.edu
locusts.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
malaria.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
mudslide.ocf.berkeley.edu
nuke.ocf.berkeley.edu
nyx.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
outbreak.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pompeii.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
sauron.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
smallpox.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
y2k.ocf.berkeley.edu
zerg.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

@PotatoParser PotatoParser requested a review from cg505 April 10, 2020 05:51
@ocfbot
Copy link
Contributor

ocfbot commented Apr 10, 2020

Errored hosts (0)

Changed hosts (5)

Unaffected hosts (127)


Changed hosts
diff for anthrax.ocf.berkeley.edu, dev-anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
diff for dev-whiteout.ocf.berkeley.edu
*******************************************
  Exec[systemctl-daemon-reload] =>
   parameters =>
     path =>
      - /opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      + /opt/share/utils/bin:/opt/share/utils/sbin:/usr/local/sbin:/usr/local/bin:/opt/puppetlabs/bin:/usr/sbin:/usr/bin:/sbin:/bin
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/etc/munin/plugin-conf.d/ocf-plugin-conf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # Set warning at 80% and critical at 90%
       [memory]
      -env.apps_warning :3164412500
      -env.apps_critical :3559964062
      +env.apps_warning :3164403125
      +env.apps_critical :3559953515
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
+ File[/var/spool/cups] =>
   parameters =>
     "backup": "main",
     "ensure": "directory",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
diff for dev-firestorm.ocf.berkeley.edu
*******************************************
  Exec[systemctl-daemon-reload] =>
   parameters =>
     path =>
      - /opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      + /opt/share/utils/bin:/opt/share/utils/sbin:/usr/local/sbin:/usr/local/bin:/opt/puppetlabs/bin:/usr/sbin:/usr/bin:/sbin:/bin
*******************************************
  File[/etc/munin/plugin-conf.d/ocf-plugin-conf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # Set warning at 80% and critical at 90%
       [memory]
      -env.apps_warning :3164646875
      -env.apps_critical :3560227734
      +env.apps_warning :3164621875
      +env.apps_critical :3560199609
*******************************************
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
+ File[/var/spool/cups] =>
   parameters =>
     "backup": "main",
     "ensure": "directory",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
alamo.ocf.berkeley.edu
aliens.ocf.berkeley.edu
apocalypse.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blackrain.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
chaos.ocf.berkeley.edu
coma.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
cyclone.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-death.ocf.berkeley.edu
dev-dementors.ocf.berkeley.edu
dev-fallingrocks.ocf.berkeley.edu
dev-flood.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
fallout.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
fireball.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gnats.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
hozer-67.ocf.berkeley.edu
hozer-70.ocf.berkeley.edu
hozer-72.ocf.berkeley.edu
hozer-73.ocf.berkeley.edu
hozer-74.ocf.berkeley.edu
hozer-80.ocf.berkeley.edu
hozer-81.ocf.berkeley.edu
hurricane.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
koolaid.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
limniceruption.ocf.berkeley.edu
locusts.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
malaria.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
mudslide.ocf.berkeley.edu
nuke.ocf.berkeley.edu
nyx.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
outbreak.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pompeii.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
sauron.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
smallpox.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
y2k.ocf.berkeley.edu
zerg.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

Copy link
Member

@cg505 cg505 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweeeet

modules/ocf_printhost/manifests/cups.pp Show resolved Hide resolved
@PotatoParser
Copy link
Contributor Author

tea4cups saves files based on the owner (switched from root -> ocfenforcer)

@cg505
Copy link
Member

cg505 commented Apr 10, 2020

sorry, I meant like add a comment to the file

@ocfbot
Copy link
Contributor

ocfbot commented Apr 11, 2020

Errored hosts (0)

Changed hosts (5)

Unaffected hosts (127)


Changed hosts
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
  Mount[/var/spool/cups] =>
   parameters =>
     options =>
      - mode=0710,gid=lp,noatime,nodev,noexec,nosuid
      + uid=ocfenforcer,mode=0710,gid=lp,noatime,nodev,noexec,nosuid
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
diff for anthrax.ocf.berkeley.edu, dev-anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
diff for dev-whiteout.ocf.berkeley.edu
*******************************************
  Exec[systemctl-daemon-reload] =>
   parameters =>
     path =>
      - /opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      + /opt/share/utils/bin:/opt/share/utils/sbin:/usr/local/sbin:/usr/local/bin:/opt/puppetlabs/bin:/usr/sbin:/usr/bin:/sbin:/bin
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/etc/munin/plugin-conf.d/ocf-plugin-conf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # Set warning at 80% and critical at 90%
       [memory]
      -env.apps_warning :3164412500
      -env.apps_critical :3559964062
      +env.apps_warning :3164403125
      +env.apps_critical :3559953515
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
  Mount[/var/spool/cups] =>
   parameters =>
     options =>
      - mode=0710,gid=lp,noatime,nodev,noexec,nosuid
      + uid=ocfenforcer,mode=0710,gid=lp,noatime,nodev,noexec,nosuid
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
diff for dev-firestorm.ocf.berkeley.edu
*******************************************
  Apt::Pin[backports] =>
   parameters =>
     release =>
      - stretch-backports
      + buster-backports
*******************************************
  Apt::Pin[ocf-backports] =>
   parameters =>
     codename =>
      - stretch-backports
      + buster-backports
*******************************************
  Apt::Setting[list-backports] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # backports
      -deb http://mirrors/debian/ stretch-backports main contrib non-free
      +deb http://mirrors/debian/ buster-backports main contrib non-free
*******************************************
  Apt::Setting[list-debian-security] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-security
      -deb http://mirrors/debian-security/ stretch/updates main contrib non-free
      -deb-src http://mirrors/debian-security/ stretch/updates main contrib non-free
      +deb http://mirrors/debian-security/ buster/updates main contrib non-free
      +deb-src http://mirrors/debian-security/ buster/updates main contrib non-free
*******************************************
  Apt::Setting[list-debian-updates] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-updates
      -deb http://mirrors/debian/ stretch-updates main contrib non-free
      -deb-src http://mirrors/debian/ stretch-updates main contrib non-free
      +deb http://mirrors/debian/ buster-updates main contrib non-free
      +deb-src http://mirrors/debian/ buster-updates main contrib non-free
*******************************************
  Apt::Setting[list-debian] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian
      -deb http://mirrors/debian/ stretch main contrib non-free
      -deb-src http://mirrors/debian/ stretch main contrib non-free
      +deb http://mirrors/debian/ buster main contrib non-free
      +deb-src http://mirrors/debian/ buster main contrib non-free
*******************************************
  Apt::Setting[list-ocf-backports] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # ocf-backports
      -deb http://apt/ stretch-backports main
      -deb-src http://apt/ stretch-backports main
      +deb http://apt/ buster-backports main
      +deb-src http://apt/ buster-backports main
*******************************************
  Apt::Setting[list-ocf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # ocf
      -deb http://apt/ stretch main
      -deb-src http://apt/ stretch main
      +deb http://apt/ buster main
      +deb-src http://apt/ buster main
*******************************************
  Apt::Setting[list-puppetlabs] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # puppetlabs
      -deb http://mirrors/puppetlabs/apt/ stretch puppet
      +deb http://mirrors/puppetlabs/apt/ buster puppet
*******************************************
  Apt::Setting[pref-backports] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: apt: backports
       Package: *
      -Pin: release a=stretch-backports
      +Pin: release a=buster-backports
       Pin-Priority: 200
*******************************************
  Apt::Setting[pref-ocf-backports] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: ocf: ocf-backports
       Package: *
      -Pin: release n=stretch-backports
      +Pin: release n=buster-backports
       Pin-Priority: 200
*******************************************
  Apt::Source[backports] =>
   parameters =>
     pin =>
       release =>
        - stretch-backports
        + buster-backports
     release =>
      - stretch-backports
      + buster-backports
*******************************************
  Apt::Source[debian-security] =>
   parameters =>
     release =>
      - stretch/updates
      + buster/updates
*******************************************
  Apt::Source[debian-updates] =>
   parameters =>
     release =>
      - stretch-updates
      + buster-updates
*******************************************
  Apt::Source[debian] =>
   parameters =>
     release =>
      - stretch
      + buster
*******************************************
  Apt::Source[ocf-backports] =>
   parameters =>
     release =>
      - stretch-backports
      + buster-backports
*******************************************
  Apt::Source[ocf] =>
   parameters =>
     release =>
      - stretch
      + buster
*******************************************
  Apt::Source[puppetlabs] =>
   parameters =>
     release =>
      - stretch
      + buster
*******************************************
- Exec[apt install python3-attr]
*******************************************
- Exec[apt install python3-cryptography]
*******************************************
- Exec[apt install python3-ldap3]
*******************************************
  File[/etc/apt/preferences.d/backports.pref] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: apt: backports
       Package: *
      -Pin: release a=stretch-backports
      +Pin: release a=buster-backports
       Pin-Priority: 200
*******************************************
  File[/etc/apt/preferences.d/ocf-backports.pref] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       Explanation: ocf: ocf-backports
       Package: *
      -Pin: release n=stretch-backports
      +Pin: release n=buster-backports
       Pin-Priority: 200
*******************************************
  File[/etc/apt/sources.list.d/backports.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # backports
      -deb http://mirrors/debian/ stretch-backports main contrib non-free
      +deb http://mirrors/debian/ buster-backports main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian-security.list] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-security
      -deb http://mirrors/debian-security/ stretch/updates main contrib non-free
      -deb-src http://mirrors/debian-security/ stretch/updates main contrib non-free
      +deb http://mirrors/debian-security/ buster/updates main contrib non-free
      +deb-src http://mirrors/debian-security/ buster/updates main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian-updates.list] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-updates
      -deb http://mirrors/debian/ stretch-updates main contrib non-free
      -deb-src http://mirrors/debian/ stretch-updates main contrib non-free
      +deb http://mirrors/debian/ buster-updates main contrib non-free
      +deb-src http://mirrors/debian/ buster-updates main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian.list] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian
      -deb http://mirrors/debian/ stretch main contrib non-free
      -deb-src http://mirrors/debian/ stretch main contrib non-free
      +deb http://mirrors/debian/ buster main contrib non-free
      +deb-src http://mirrors/debian/ buster main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/ocf-backports.list] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # ocf-backports
      -deb http://apt/ stretch-backports main
      -deb-src http://apt/ stretch-backports main
      +deb http://apt/ buster-backports main
      +deb-src http://apt/ buster-backports main
*******************************************
  File[/etc/apt/sources.list.d/ocf.list] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # ocf
      -deb http://apt/ stretch main
      -deb-src http://apt/ stretch main
      +deb http://apt/ buster main
      +deb-src http://apt/ buster main
*******************************************
  File[/etc/apt/sources.list.d/puppetlabs.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # puppetlabs
      -deb http://mirrors/puppetlabs/apt/ stretch puppet
      +deb http://mirrors/puppetlabs/apt/ buster puppet
*******************************************
  File[/etc/munin/plugin-conf.d/ocf-plugin-conf] =>
   parameters =>
     content =>
      @@ -1,4 +1,4 @@
       # Set warning at 80% and critical at 90%
       [memory]
      -env.apps_warning :3164646875
      -env.apps_critical :3560227734
      +env.apps_warning :1596003125
      +env.apps_critical :1795503515
*******************************************
  Ocf::Repackage[grub-pc] =>
   parameters =>
     dist =>
      - stretch-backports
      + buster-backports
*******************************************
  Ocf::Repackage[libnss-ldap] =>
   parameters =>
     dist =>
      - stretch-backports
      + buster-backports
*******************************************
  Ocf::Repackage[python3-attr] =>
   parameters =>
     dist =>
      - stretch-backports
      + buster-backports
*******************************************
  Ocf::Repackage[python3-cryptography] =>
   parameters =>
     dist =>
      - stretch-backports
      + buster-backports
*******************************************
  Ocf::Repackage[python3-ldap3] =>
   parameters =>
     dist =>
      - stretch-backports
      + buster-backports
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
alamo.ocf.berkeley.edu
aliens.ocf.berkeley.edu
apocalypse.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blackrain.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
chaos.ocf.berkeley.edu
coma.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
cyclone.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-death.ocf.berkeley.edu
dev-dementors.ocf.berkeley.edu
dev-fallingrocks.ocf.berkeley.edu
dev-flood.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
fallout.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
fireball.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gnats.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
hozer-67.ocf.berkeley.edu
hozer-70.ocf.berkeley.edu
hozer-72.ocf.berkeley.edu
hozer-73.ocf.berkeley.edu
hozer-74.ocf.berkeley.edu
hozer-80.ocf.berkeley.edu
hozer-81.ocf.berkeley.edu
hurricane.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
koolaid.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
limniceruption.ocf.berkeley.edu
locusts.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
malaria.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
mudslide.ocf.berkeley.edu
nuke.ocf.berkeley.edu
nyx.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
outbreak.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pompeii.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
sauron.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
smallpox.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
y2k.ocf.berkeley.edu
zerg.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

file { '/usr/lib/cups/backend/tea4cups':
ensure => 'file',
owner => 'ocfenforcer',
mode => '0700';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably also good to include require => Package['cups-tea4cups'] here since this is normally provided by that package so you'd want it to exist first before modifying it's permissions

Copy link
Contributor

@fydai fydai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, pending the one last require

@ja5087
Copy link
Member

ja5087 commented Apr 16, 2020

I think the code looks good but let's wait to merge until we get lab access again

@ocfjenkins
Copy link

ocfjenkins bot commented Jul 29, 2020

Errored hosts (1)

Changed hosts (2)

Unaffected hosts (95)


Errored hosts
error for blight.ocf.berkeley.edu
W, [2020-07-29T01:18:53.329694 #8981]  WARN -- : Puppet command failed: STDOUT:
  Notice: Compiled catalog for blight.ocf.berkeley.edu in environment production in 102.45 seconds
STDERR:
  Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/6.17/deprecated_language.html
     (file & line not available)
  Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6)
  Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6)
  Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10)
  Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29)
  Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5)
  Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29)
  Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5)
  Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition
  Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::groups definition
  Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::puppet definition
  Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::rootpw definition
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
  Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
  /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-scriptrunner20200729-8981-e5xpf8/puppet.sh: line 12: 16858 Killed                  "$OCD_PUPPET_BINARY" "$@"
W, [2020-07-29T01:18:53.334799 #8981]  WARN -- : Failed build_catalog for . validation: OctocatalogDiff::Errors::CatalogError Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/6.17/deprecated_language.html
   (file & line not available)
Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6)
Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6)
Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10)
Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29)
Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5)
Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29)
Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5)
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::groups definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::puppet definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::rootpw definition
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
/tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-scriptrunner20200729-8981-e5xpf8/puppet.sh: line 12: 16858 Killed                  "$OCD_PUPPET_BINARY" "$@"

/usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:259:in `catalog_validator': Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/6.17/deprecated_language.html (OctocatalogDiff::Errors::CatalogError)
   (file & line not available)
Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6)
Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6)
Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10)
Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29)
Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5)
Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29)
Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5)
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::groups definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::puppet definition
Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::rootpw definition
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
Warning: Unknown variable: 'subscribe'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 14, column: 18)
Warning: Unknown variable: 'notify'. (file: /tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-builddir-20200729-8981-pt4jic/environments/production/modules/ocf/manifests/firewall/firewall46.pp, line: 16, column: 18)
/tmp/ocd-ipc-20200729-8801-9gs4pk/ocd-scriptrunner20200729-8981-e5xpf8/puppet.sh: line 12: 16858 Killed                  "$OCD_PUPPET_BINARY" "$@"
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `validate'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:202:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'
Changed hosts
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
  Mount[/var/spool/cups] =>
   parameters =>
     options =>
      - mode=0710,gid=lp,noatime,nodev,noexec,nosuid
      + uid=ocfenforcer,mode=0710,gid=lp,noatime,nodev,noexec,nosuid
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
diff for anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-maelstrom.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
monsoon.ocf.berkeley.edu
nuke.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
whirlwind.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

@ocfjenkins
Copy link

ocfjenkins bot commented Jul 31, 2020

Errored hosts (0)

Changed hosts (2)

Unaffected hosts (96)


Changed hosts
diff for anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
  Mount[/var/spool/cups] =>
   parameters =>
     options =>
      - mode=0710,gid=lp,noatime,nodev,noexec,nosuid
      + uid=ocfenforcer,mode=0710,gid=lp,noatime,nodev,noexec,nosuid
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
asteroid.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
avalanche.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
bigbang.ocf.berkeley.edu
bigrip.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
bolide.ocf.berkeley.edu
calamity.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
dev-maelstrom.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
failure.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
fukushima.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
invasion.ocf.berkeley.edu
jaws.ocf.berkeley.edu
leprosy.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
monsoon.ocf.berkeley.edu
nuke.ocf.berkeley.edu
oilspill.ocf.berkeley.edu
pandemic.ocf.berkeley.edu
panic.ocf.berkeley.edu
pestilence.ocf.berkeley.edu
pgp.ocf.berkeley.edu
pileup.ocf.berkeley.edu
plague.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
quicksand.ocf.berkeley.edu
ragnarok.ocf.berkeley.edu
rapture.ocf.berkeley.edu
reaper.ocf.berkeley.edu
rejection.ocf.berkeley.edu
riot.ocf.berkeley.edu
riptide.ocf.berkeley.edu
sarin.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
segfault.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
spectre.ocf.berkeley.edu
stackclash.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
tempest.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
trojan.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
virus.ocf.berkeley.edu
volcano.ocf.berkeley.edu
vortex.ocf.berkeley.edu
walpurgisnacht.ocf.berkeley.edu
war.ocf.berkeley.edu
whirlwind.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
worm.ocf.berkeley.edu
zombies.ocf.berkeley.edu

Jenkins

@ocfjenkins
Copy link

ocfjenkins bot commented Nov 17, 2021

Errored hosts (1)

Changed hosts (91)

Unaffected hosts (0)

WARNING: Output is too long for a comment, posted to a gist instead: https://gist.github.com/c0339f4e56de810145e97d7d7784747e

Jenkins

@ocfjenkins
Copy link

ocfjenkins bot commented Nov 17, 2021

Errored hosts (1)

Changed hosts (91)

Unaffected hosts (0)

WARNING: Output is too long for a comment, posted to a gist instead: https://gist.github.com/25901e745680541108aa44171b1f0b40

Jenkins

@ocfjenkins
Copy link

ocfjenkins bot commented Apr 11, 2023

Errored hosts (4)

Changed hosts (2)

Unaffected hosts (68)


Errored hosts
error for asteroid.ocf.berkeley.edu
#<Thread:0x00005632457a83e8@/usr/lib/ruby/2.5.0/open3.rb:264 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:264:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `block (2 levels) in capture3'
#<Thread:0x00005632457a82a8@/usr/lib/ruby/2.5.0/open3.rb:265 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:265:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:265:in `block (2 levels) in capture3'
/usr/lib/ruby/vendor_ruby/octocatalog-diff/util/scriptrunner.rb:65:in `run': STDOUT: (OctocatalogDiff::Util::ScriptRunner::ScriptException)
STDERR:
  /opt/puppetlabs/bin/puppet: 10: /opt/puppetlabs/bin/puppet: Cannot fork
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/puppetversion.rb:34:in `puppet_version'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:51:in `puppet_version'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:213:in `block in run_puppet'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:210:in `upto'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:210:in `run_puppet'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:114:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog.rb:96:in `build'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:241:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:193:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'
error for avalanche.ocf.berkeley.edu
#<Thread:0x00005636c0041f08@/usr/lib/ruby/2.5.0/open3.rb:265 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:265:in `read': closed stream (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:265:in `block (2 levels) in capture3'
#<Thread:0x00005636c0042188@/usr/lib/ruby/2.5.0/open3.rb:264 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:264:in `read': closed stream (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `block (2 levels) in capture3'
/usr/lib/ruby/2.5.0/open3.rb:200:in `detach': can't create Thread: Resource temporarily unavailable (ThreadError)
	from /usr/lib/ruby/2.5.0/open3.rb:200:in `popen_run'
	from /usr/lib/ruby/2.5.0/open3.rb:95:in `popen3'
	from /usr/lib/ruby/2.5.0/open3.rb:258:in `capture3'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/enc/script.rb:55:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/enc.rb:54:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/builddir.rb:204:in `install_enc'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/builddir.rb:60:in `initialize'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:100:in `new'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:100:in `bootstrap'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:113:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog.rb:96:in `build'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:241:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:193:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'
error for bigbang.ocf.berkeley.edu
#<Thread:0x000055bc5d2be408@/usr/lib/ruby/2.5.0/open3.rb:264 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:264:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `block (2 levels) in capture3'
#<Thread:0x000055bc5d2be2c8@/usr/lib/ruby/2.5.0/open3.rb:265 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:265:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:265:in `block (2 levels) in capture3'
/usr/lib/ruby/2.5.0/open3.rb:264:in `initialize': can't create Thread: Resource temporarily unavailable (ThreadError)
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `new'
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `block in capture3'
	from /usr/lib/ruby/2.5.0/open3.rb:205:in `popen_run'
	from /usr/lib/ruby/2.5.0/open3.rb:95:in `popen3'
	from /usr/lib/ruby/2.5.0/open3.rb:258:in `capture3'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/enc/script.rb:55:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/enc.rb:54:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/builddir.rb:204:in `install_enc'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/builddir.rb:60:in `initialize'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:100:in `new'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:100:in `bootstrap'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:113:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog.rb:96:in `build'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:241:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:193:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'
error for segfault.ocf.berkeley.edu
W, [2023-04-11T14:34:27.900642 #4904]  WARN -- : Puppet command failed: STDOUT:
STDERR:
  Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.21/deprecated_language.html
     (file & line not available)
  Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
  Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
  Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
  Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
  Error: Try 'puppet help catalog compile' for usage
W, [2023-04-11T14:34:27.901228 #4904]  WARN -- : Failed build_catalog for origin/master validation: OctocatalogDiff::Errors::CatalogError Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.21/deprecated_language.html
   (file & line not available)
Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Try 'puppet help catalog compile' for usage

#<Thread:0x000056027ac3f320@/usr/lib/ruby/2.5.0/open3.rb:264 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:264:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:264:in `block (2 levels) in capture3'
#<Thread:0x000056027ac3f1e0@/usr/lib/ruby/2.5.0/open3.rb:265 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/open3.rb:265:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/2.5.0/open3.rb:265:in `block (2 levels) in capture3'
/usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:259:in `catalog_validator': Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.21/deprecated_language.html (OctocatalogDiff::Errors::CatalogError)
   (file & line not available)
Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'new' The string 'bookworm/sid' cannot be converted to Integer (file: /tmp/ocd-ipc-20230411-3878-1aflz0d/ocd-builddir-20230411-4904-913dhy/environments/production/modules/ocf/manifests/packages/mysql_server.pp, line: 13, column: 8) on node segfault.ocf.berkeley.edu
Error: Try 'puppet help catalog compile' for usage
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `validate'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:202:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'
Changed hosts
diff for anthrax.ocf.berkeley.edu
*******************************************
  File[/etc/aliases] =>
   parameters =>
     content =>
      @@ -9,4 +9,5 @@
      _
       mirrors: root
      +ocfenforcer: root
       ocfstats: root
       jenkins: root
*******************************************
diff for whiteout.ocf.berkeley.edu
*******************************************
  File[/etc/cups/tea4cups.conf] =>
   parameters =>
     content =>
      @@ -7,4 +7,4 @@
       keepfiles : no
      _
      -prehook_enforcer : /usr/local/bin/enforcer prehook
      -posthook_enforcer : /usr/local/bin/enforcer posthook
      +prehook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer prehook
      +posthook_enforcer : sudo -Eu ocfenforcer /usr/local/bin/enforcer posthook
*******************************************
  File[/opt/share/enforcer/enforcer.conf] =>
   parameters =>
     mode =>
      - 0644
      + 0500
     owner =>
      - root
      + ocfenforcer
*******************************************
  File[/opt/share/enforcer] =>
   parameters =>
     owner =>
      - root
      + ocfenforcer
*******************************************
+ File[/usr/lib/cups/backend/tea4cups] =>
   parameters =>
     "backup": "main",
     "ensure": "file",
     "group": "root",
     "mode": "0700",
     "owner": "ocfenforcer"
*******************************************
  Mount[/var/spool/cups] =>
   parameters =>
     options =>
      - mode=0710,gid=lp,noatime,nodev,noexec,nosuid
      + uid=ocfenforcer,mode=0710,gid=lp,noatime,nodev,noexec,nosuid
*******************************************
+ User[ocfenforcer] =>
   parameters =>
     "ensure": "present",
     "groups": [
       "sys"
     ],
     "system": true
*******************************************
Unaffected hosts
acid.ocf.berkeley.edu
arsenic.ocf.berkeley.edu
autocrat.ocf.berkeley.edu
bedbugs.ocf.berkeley.edu
biohazard.ocf.berkeley.edu
blackout.ocf.berkeley.edu
blight.ocf.berkeley.edu
blizzard.ocf.berkeley.edu
chaos.ocf.berkeley.edu
corruption.ocf.berkeley.edu
coup.ocf.berkeley.edu
cyanide.ocf.berkeley.edu
cyclone.ocf.berkeley.edu
dataloss.ocf.berkeley.edu
deadlock.ocf.berkeley.edu
death.ocf.berkeley.edu
dementors.ocf.berkeley.edu
democracy.ocf.berkeley.edu
destruction.ocf.berkeley.edu
drought.ocf.berkeley.edu
eruption.ocf.berkeley.edu
fallingrocks.ocf.berkeley.edu
falsevacuum.ocf.berkeley.edu
famine.ocf.berkeley.edu
fire.ocf.berkeley.edu
firestorm.ocf.berkeley.edu
firewhirl.ocf.berkeley.edu
flood.ocf.berkeley.edu
fraud.ocf.berkeley.edu
gridlock.ocf.berkeley.edu
hailstorm.ocf.berkeley.edu
hal.ocf.berkeley.edu
headcrash.ocf.berkeley.edu
heatwave.ocf.berkeley.edu
hellfire.ocf.berkeley.edu
hurricane.ocf.berkeley.edu
invasion.ocf.berkeley.edu
lethe.ocf.berkeley.edu
lightning.ocf.berkeley.edu
madcow.ocf.berkeley.edu
maelstrom.ocf.berkeley.edu
meteorstorm.ocf.berkeley.edu
nuke.ocf.berkeley.edu
outbreak.ocf.berkeley.edu
plague.ocf.berkeley.edu
pox.ocf.berkeley.edu
quarantine.ocf.berkeley.edu
radiation-mgmt.ocf.berkeley.edu
reaper.ocf.berkeley.edu
riptide.ocf.berkeley.edu
scurvy.ocf.berkeley.edu
shipwreck.ocf.berkeley.edu
singularity.ocf.berkeley.edu
sinkhole.ocf.berkeley.edu
solarflare.ocf.berkeley.edu
supernova.ocf.berkeley.edu
surge.ocf.berkeley.edu
thunder.ocf.berkeley.edu
tornado.ocf.berkeley.edu
tsunami.ocf.berkeley.edu
typhoon.ocf.berkeley.edu
vampires.ocf.berkeley.edu
venom.ocf.berkeley.edu
volcano.ocf.berkeley.edu
war.ocf.berkeley.edu
wildfire.ocf.berkeley.edu
windshear.ocf.berkeley.edu
worm.ocf.berkeley.edu

Jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make enforcer not run as root
7 participants