Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
manifests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
puppet
manifests
Commits
44f2fbde
Commit
44f2fbde
authored
Dec 30, 2016
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Pipeline
#97
passed with stages
in 1 minute and 23 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
0 deletions
+43
-0
.gitlab-ci.yml
.gitlab-ci.yml
+31
-0
README.md
README.md
+1
-0
deploy.sh
deploy.sh
+7
-0
site.pp
site.pp
+4
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
44f2fbde
before_script
:
-
apt-get update -qq
stages
:
-
test
-
deploy
lint
:
stage
:
test
script
:
-
apt-get install -y -qq ruby
-
gem install --no-ri --no-rdoc puppet-lint
-
ruby -v
-
puppet-lint -v
-
puppet-lint .
tags
:
-
puppet
deploy
:
stage
:
deploy
script
:
-
'
which
ssh-agent
||
(apt-get
install
-y
-qq
openssh-client)'
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
mkdir -p ~/.ssh
-
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
-
bash deploy.sh
tags
:
-
puppet
only
:
-
master
README.md
0 → 100644
View file @
44f2fbde
All puppet manifests live here.
deploy.sh
0 → 100644
View file @
44f2fbde
#!/usr/bin/bash
for
c
in
{
1..4
}
do
ssh puppet.insomnia247.nl
"cd /etc/puppetlabs/code/environments/production/manifests && git pull && systemctl reload puppetserver"
&&
break
||
sleep
3
&&
echo
"retry"
done
\ No newline at end of file
site.pp
0 → 100644
View file @
44f2fbde
node
'puppet.insomnia247.nl'
{
include
profile::base::puppetagent
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment