forked from MattR-Joyent/sup-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspc.pp
21 lines (17 loc) · 738 Bytes
/
spc.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
exec { "mget-profile":
command => "/root/sup/mget_if_changed.sh /joyentsup/stor/sup/profile.spc /root/.profile",
}
exec { "mget-sdc-config":
command => "/root/sup/mget_if_changed.sh /joyentsup/stor/sup/sdc-config.json /opt/local/lib/node_modules/toolbox/node_modules/sdc/etc/config.json",
}
exec { "mget-sup-notify-dc":
command => "/root/sup/mget_if_changed.sh /joyentsup/stor/sup/spc.json /opt/local/lib/node_modules/sup-notify/etc/dc.json",
}
exec { "mget-im-notices":
command => "/root/sup/mget_if_changed.sh /joyentsup/stor/sup/im-notices.json /opt/local/lib/node_modules/im-notices/etc/config.json",
}
cron { "reapply-spc":
command => "/opt/local/bin/puppet apply /root/sup/spc.pp",
user => "root",
minute => 45,
}