Skip to content

Commit 403ad30

Browse files
committed
Added upstream walkamongus-realmd 2.5.0 (rev c8b6a7e30c7abb5e09bd50b3f74a325c7a3358a0)
Source is at https://github.com/walkamongus/realmd.git
1 parent f1c3cf8 commit 403ad30

File tree

17 files changed

+167
-109
lines changed

17 files changed

+167
-109
lines changed

modules/upstream/realmd/.fixtures.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

modules/upstream/realmd/.gitignore

Lines changed: 0 additions & 12 deletions
This file was deleted.

modules/upstream/realmd/.travis.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

modules/upstream/realmd/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ variable to the name of a host described by a `.yml` file in the
8989
If you don't want to have to recreate the virtual machine every time you
9090
can use `BEAKER_destroy=no` and `BEAKER_provision=no`. On the first run you will
9191
at least need `BEAKER_provision` set to yes (the default). The Vagrantfile
92-
for the created virtual machines will be in `.vagrant/beaker_vagrant_files`.
92+
for the created virtual machines will be in `.vagrant/beaker_vagrant_files`.

modules/upstream/realmd/Gemfile

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
source "https://rubygems.org"
1+
source 'https://rubygems.org'
22

3-
puppetversion = ENV['PUPPET_VERSION'].nil? ? '~> 4.10' : ENV['PUPPET_VERSION'].to_s
4-
puppetver = Gem::Version.new(%r/([\d.]+)/.match(puppetversion)[1])
3+
puppetversion = ENV['PUPPET_GEM_VERSION'] || '>= 6.18'
54

65
group :test do
7-
gem "rake"
8-
gem "puppet", puppetversion
9-
gem "rspec", '~> 3.8.0'
10-
gem "rspec-puppet", :git => 'https://github.com/rodjek/rspec-puppet.git'
11-
gem "puppetlabs_spec_helper", '~> 2.1'
12-
gem "metadata-json-lint"
13-
gem "rspec-puppet-facts"
6+
gem 'rake'
7+
gem 'puppet', puppetversion
8+
gem 'rspec', '~> 3.8.0'
9+
gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git'
10+
gem 'puppetlabs_spec_helper', '~> 2.1'
11+
gem 'metadata-json-lint'
12+
gem 'rspec-puppet-facts'
1413
gem 'rubocop', '0.57.2'
15-
gem 'semantic_puppet' unless puppetver >= Gem::Version.new('5.0')
1614
gem 'simplecov', '>= 0.11.0'
1715
gem 'simplecov-console'
1816
gem 'puppet-lint', '>= 2.0.0'
1917
gem 'puppet-syntax', '~> 2.4.0'
20-
gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0'
18+
gem 'json_pure', '<= 2.0.1'
2119
gem 'net-telnet', '0.1.1'
2220
end
2321

2422
group :development do
25-
gem "travis" if RUBY_VERSION >= '2.1.0'
26-
gem "travis-lint" if RUBY_VERSION >= '2.1.0'
27-
gem "guard-rake" if RUBY_VERSION >= '2.2.5' # per dependency https://rubygems.org/gems/ruby_dep
28-
gem "puppet-blacksmith"
23+
gem 'travis'
24+
gem 'travis-lint'
25+
gem 'guard-rake'
26+
gem 'puppet-blacksmith'
2927
end
3028

3129
group :system_tests do
32-
gem 'beaker' if RUBY_VERSION >= '2.1.8'
33-
gem 'beaker-rspec' if RUBY_VERSION >= '2.1.8'
30+
gem 'beaker'
31+
gem 'beaker-vagrant'
32+
gem 'beaker-rspec'
33+
gem 'beaker-puppet'
3434
end

modules/upstream/realmd/README.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Set up Realmd, join an Active Directory domain via a keytab and fully configure
137137

138138
### Parameters
139139

140-
Default values are in params.pp.
140+
Default values are in data/common.yaml.
141141

142142
* `realmd_package_name`: String. The name of the main Realmd package.
143143
* `realmd_config_file`: String. The absolute path of the Realmd configuration file.
@@ -150,6 +150,7 @@ Default values are in params.pp.
150150
* `sssd_config_file`: String. The absolute path of the SSSD configuration file.
151151
* `sssd_config`: Hash. A hash of configuration options structured in an ini-style format.
152152
* `manage_sssd_config`: Boolean. Enable or disable management of the SSSD configuration file.
153+
* `manage_sssd_service`: Boolean. Enable or disable management of the SSSD service.
153154
* `required_packages`: Hash. A hash of package resources to manage for any auxilliary functionality.
154155
* `domain`: String. The name of the domain to join.
155156
* `domain_join_user`: String. The account to be used in joining the domain.

modules/upstream/realmd/data/Debian.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ realmd::krb_client_package_name: krb5-user
33
realmd::required_packages:
44
sssd-tools:
55
ensure: present
6-
sssd:
7-
ensure: present
86
libpam-modules:
97
ensure: present
108
libnss-sss:
119
ensure: present
1210
libpam-sss:
1311
ensure: present
14-
adcli:
15-
ensure: present
1612
samba-common-bin:
1713
ensure: present
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
realmd::realmd_package_ensure: absent
3+
realmd::krb_client_package_name: krb5-workstation
4+
realmd::required_packages:
5+
oddjob:
6+
ensure: present
7+
oddjob-mkhomedir:
8+
ensure: present
9+
samba4-common:
10+
ensure: present
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
realmd::krb_client_package_name: krb5-workstation
3+
34
realmd::required_packages:
45
oddjob:
56
ensure: present
67
oddjob-mkhomedir:
78
ensure: present
89
samba-common-tools:
910
ensure: present
11+

modules/upstream/realmd/data/common.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ realmd::sssd_config_file: /etc/sssd/sssd.conf
1414
realmd::sssd_config: {}
1515
realmd::sssd_config_cache_file: /var/lib/sss/db/config.ldb
1616
realmd::manage_sssd_config: false
17+
realmd::manage_sssd_service: true
18+
realmd::manage_sssd_package: true
1719
realmd::domain: "%{::domain}"
1820
realmd::domain_join_user: ~
1921
realmd::domain_join_password: ~

0 commit comments

Comments
 (0)