forked from voxpupuli/puppet-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
62 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,3 @@ matrix: | |
env: PUPPET_VERSION="~> 3.4.0" | ||
notifications: | ||
email: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,21 +181,21 @@ security policy are configured in the correct order. For example: | |
PUPPET_HELPER='<%= jenkins_libdir %>/puppet_helper.groovy' | ||
HELPER="java -jar $JENKINS_CLI -s http://127.0.0.1:8080 groovy $PUPPET_HELPER" | ||
DONEFILE='<%= jenkins_libdir %>/jenkins-bootstrap.done' | ||
|
||
ADMIN_PUBKEY="$(cat ${ADMIN_SSH_KEY}.pub)" | ||
|
||
# Create the admin user, passing no credentials | ||
$HELPER create_or_update_user "$ADMIN_USER" "$ADMIN_EMAIL" "$ADMIN_PASSWORD" "$ADMIN_FULLNAME" "$ADMIN_PUBKEY" | ||
# Enable security. After this, credentials will be required. | ||
$HELPER set_security full_control | ||
|
||
touch $DONEFILE | ||
|
||
#### Users | ||
|
||
Email and password are required. | ||
|
||
Create a `johndoe` user account whose full name is "Managed by Puppet": | ||
Create a `johndoe` user account whose full name is "Managed by Puppet": | ||
```puppet | ||
jenkins::user { 'johndoe': | ||
email => '[email protected]', | ||
|
@@ -270,13 +270,13 @@ class { 'jenkins': | |
``` | ||
|
||
### Installing from a hosted RPM | ||
Sometimes you don't have an RPM repository available and are not allowed to | ||
directly install from repositories on the Internet. In this case, you can | ||
still install Jenkins with this module by hosting the jenkins RPM file | ||
Sometimes you don't have an RPM repository available and are not allowed to | ||
directly install from repositories on the Internet. In this case, you can | ||
still install Jenkins with this module by hosting the jenkins RPM file | ||
somewhere accessible (http server, S3 bucket, etc.) and tell | ||
|
||
``` | ||
class { 'jenkins': | ||
direct_download => 'http://myserver/rpms/jenkins-x.xxx-1-1.rpm', | ||
} | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,3 @@ def self.plugins_dir | |
end | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,3 @@ | |
|
||
create_resources( 'jenkins::sysconfig', $::jenkins::config_hash ) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,3 @@ | |
proto => 'tcp', | ||
} | ||
} | ||
|
Oops, something went wrong.