@@ -32,8 +32,8 @@ You need to configure at least one domain for SSSD to start up so the bare
32
32
minimum would be:
33
33
34
34
``` puppet
35
- include :: sssd
36
- :: sssd::domain { 'example.com':
35
+ include sssd
36
+ sssd::domain { 'example.com':
37
37
id_provider => 'ldap',
38
38
...
39
39
}
@@ -44,7 +44,7 @@ include ::sssd
44
44
Configure SSSD to use LDAP for NSS:
45
45
46
46
``` puppet
47
- class { ':: sssd':
47
+ class { 'sssd':
48
48
domains => {
49
49
'example.com' => {
50
50
'id_provider' => 'ldap',
@@ -62,22 +62,22 @@ class { '::sssd':
62
62
},
63
63
}
64
64
65
- class { ':: nsswitch':
65
+ class { 'nsswitch':
66
66
passwd => ['files', 'sss'],
67
67
shadow => ['files', 'sss'],
68
68
group => ['files', 'sss'],
69
69
}
70
70
71
- Class[':: sssd'] -> Class[':: nsswitch']
71
+ Class['sssd'] -> Class['nsswitch']
72
72
```
73
73
74
74
Extend the above example to also make the SSSD data available over D-Bus:
75
75
76
76
``` puppet
77
- include :: dbus
78
- include :: sssd
79
- :: sssd::service { 'nss': }
80
- :: sssd::domain { 'example.com':
77
+ include dbus
78
+ include sssd
79
+ sssd::service { 'nss': }
80
+ sssd::domain { 'example.com':
81
81
id_provider => 'ldap',
82
82
ldap_schema => 'rfc2307',
83
83
ldap_uri => ['ldap://192.0.2.1'],
@@ -87,15 +87,15 @@ include ::sssd
87
87
ldap_default_bind_dn => 'cn=Manager,dc=example,dc=com',
88
88
ldap_default_authtok => 'secret',
89
89
}
90
- include :: sssd::dbus
90
+ include sssd::dbus
91
91
92
- class { ':: nsswitch':
92
+ class { 'nsswitch':
93
93
passwd => ['files', 'sss'],
94
94
shadow => ['files', 'sss'],
95
95
group => ['files', 'sss'],
96
96
}
97
97
98
- Class[':: sssd'] -> Class[':: nsswitch']
98
+ Class['sssd'] -> Class['nsswitch']
99
99
```
100
100
101
101
## Reference
@@ -104,7 +104,7 @@ The reference documentation is generated with
104
104
[ puppet-strings] ( https://github.com/puppetlabs/puppet-strings ) and the latest
105
105
version of the documentation is hosted at
106
106
[ https://bodgit.github.io/puppet-sssd/ ] ( https://bodgit.github.io/puppet-sssd/ )
107
- and available also in the [ REFERENCE.md] ( https://github.com/bodgit/puppet-postfix /blob/main/REFERENCE.md ) .
107
+ and available also in the [ REFERENCE.md] ( https://github.com/bodgit/puppet-sssd /blob/main/REFERENCE.md ) .
108
108
109
109
## Limitations
110
110
0 commit comments