Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
bash
Commits
57a448b0
Commit
57a448b0
authored
Jun 13, 2008
by
mh
Browse files
merged with puzzle, added new openbsd package structure
parent
f62ee7dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
files/.git_placeholder
0 → 100644
View file @
57a448b0
# file needed for git - don't remove it
manifests/init.pp
View file @
57a448b0
# modules/bash/manifests/init.pp - manage bash stuff
# Copyright (C) 2007 admin@immerda.ch
#
# bash module
#
# Copyright 2008, admin(at)immerda.ch
# Copyright 2008, Puzzle ITC GmbH
# Marcel Härry haerry+puppet(at)puzzle.ch
# Simon Josi josi+puppet(at)puzzle.ch
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License version 3 as published by
# the Free Software Foundation.
#
#modules_dir { "bash": }
...
...
@@ -29,29 +39,30 @@ class bash::centos inherits bash::base {
class
bash::openbsd
inherits
bash::base
{
package
{
'libiconv'
:
ensure
=>
'
present
'
,
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
4.2/packages/i386/libiconv-1.9.2p3.tgz
'
ensure
=>
present
,
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
${operatingsystemrelease}/packages/${hardwaremodel}/
'
}
package
{
'gettext'
:
ensure
=>
'present'
,
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
4.2/packages/i386/gettext-0.14.6p0.tgz'
,
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
${operatingsystemrelease}/packages/${hardwaremodel}/'
require
=>
Package
[
libiconv
],
}
Package
[
bash
]{
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
4.2/packages/i386/bash-3.2.17.tgz'
,
source
=>
'ftp://mirror.switch.ch/pub/OpenBSD/
${operatingsystemrelease}/packages/${hardwaremodel}/'
require
=>
Package
[
gettext
],
}
bash::deploy_profile
{
bash_profile_root
:
source
=>
'openbsd'
}
}
define
bash::deploy_profile
(
$source
,
$destination
=
'/root/.bash_profile'
,
$uid
=
'root'
,
$gid
=
'0'
){
define
bash::deploy_profile
(
$source
,
$destination
=
'/root/.bash_profile'
,
$uid
=
'root'
,
$gid
=
'0'
){
file
{
$name
:
file
{
$name
:
path
=>
$destination
,
owner
=>
$uid
,
group
=>
$gid
,
...
...
Write
Preview
Supports
Markdown
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