mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 03:38:01 +00:00
Merge branch 'web_merge' of http://github.com/thomashaw/secgen into web_merge
This commit is contained in:
@@ -3,6 +3,6 @@ class userspice_43 {
|
||||
class { 'userspice_43::install': } ~>
|
||||
cron { 'run userspice config script':
|
||||
command => '/bin/bash /userspice.sh',
|
||||
minute => [0, 5,10,15,20,25,30,35,40,45,50,55]
|
||||
minute => [0,5,10,15,20,25,30,35,40,45,50,55]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
curl -L http://<%= @ip_address %>:80/index.php
|
||||
sudo curl -L http://<%= @ip_address %>:80/index.php
|
||||
sleep 10
|
||||
curl -L http://<%= @ip_address %>:80/install/step2.php
|
||||
sudo curl -L http://<%= @ip_address %>:80/install/step2.php
|
||||
sleep 10
|
||||
curl -L --data '<%= @step2_params %>' http://<%= @ip_address %>:80/install/step2.php
|
||||
sudo curl -L --data '<%= @step2_params %>' http://<%= @ip_address %>:80/install/step2.php
|
||||
sleep 10
|
||||
curl -L http://<%= @ip_address %>:80/install/step3.php
|
||||
sudo curl -L http://<%= @ip_address %>:80/install/step3.php
|
||||
sleep 10
|
||||
curl -L --referer http://<%= @ip_address %>:80/install/step3.php http://localhost:80/install/cleanup.php
|
||||
sudo curl -L --referer http://<%= @ip_address %>:80/install/step3.php http://<%= @ip_address %>:80/install/cleanup.php
|
||||
sleep 10
|
||||
curl -L http://<%= @ip_address %>:80/users/update.php
|
||||
sudo curl -L http://<%= @ip_address %>:80/users/update.php
|
||||
sleep 10
|
||||
curl -L http://<%= @ip_address %>:80/users/login.php
|
||||
sudo curl -L http://<%= @ip_address %>:80/users/login.php
|
||||
sleep 10
|
||||
Reference in New Issue
Block a user