mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-23 04:08:02 +00:00
merge
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
$params += '&language='
|
||||
end
|
||||
-%>
|
||||
curl -L <%= @https ? '-k ': '' %><%= $url_base %>
|
||||
sleep 10
|
||||
curl -L --data '<%= $params %>' <%= @https ? '-k ': '' %><%= $url_base %>/wp-admin/install.php?step=2
|
||||
if [ ! -f /wps ]; then
|
||||
curl -L <%= @https ? '-k ': '' %><%= $url_base %>
|
||||
sleep 10
|
||||
curl -L --data '<%= $params %>' <%= @https ? '-k ': '' %><%= $url_base %>/wp-admin/install.php?step=2
|
||||
sleep 10
|
||||
touch /wps
|
||||
fi
|
||||
@@ -40,9 +40,14 @@ class wordpress_4x {
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
ensure => present,
|
||||
mode => '0755',
|
||||
mode => '0700',
|
||||
content => template('wordpress/wordpress_conf.sh.erb'),
|
||||
}
|
||||
~>
|
||||
cron { 'run wordpress config script':
|
||||
command => '/bin/bash /wordpress_conf.sh',
|
||||
minute => [0, 5,10,15,20,25,30,35,40,45,50,55]
|
||||
}
|
||||
# ~>
|
||||
# exec { 'run wordpress config script':
|
||||
# command => '/bin/bash /tmp/wordpress_conf.sh',
|
||||
|
||||
Reference in New Issue
Block a user