Displaying 20 results from an estimated 90 matches similar to: "hiera_array, structured data and multiple levels of hierarchy"
2012 Aug 17
5
Hiera, Hashes, and Create_resources
Howdy:
I need some help please to get hiera configuration data derived
from YAML, thru puppet. I have studied Internet search results and
puppet documentation on create_resources and custom defines but
need a little help along. I can print out the YAML from variables,
arrays, and, finally, hashes too from a puppet manifest.
One thing that is stumping me is how to access from the custom
define
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote:
> On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote:
>> On debian there is a script called samba in /etc/init.d , it starts smbd &
>> nmbd *or* samba, if it doesn't find 'server role = active directory domain
>> controller' in smb.conf , it doesn't try to start the samba deamon.
> Odd that
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [
2017 Jun 18
4
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
On Sun, 18 Jun 2017 02:55:22 -0700 (PDT)
Winfried via samba <samba at lists.samba.org> wrote:
> Forgot to give the smb.conf:
>
OK, it looks like you are trying to set up a standalone server with
guest access, I suggest you read this wiki page:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
You do not need most of the parameters you have added to smb.conf,
2017 Jun 23
3
Upgrading samba from jessie (4.2) to stretch (4.5) in AD mode...
Hai,
The "scripts" are not the problem, i'll explain more.
A failty configured smb.conf is the problem, or a smb.conf which contained "removed" settings.
Which exist in a lots of setups.
You need to setup you smb.conf to match 4.5.x settings "before" you upgrade, then you dont have any problems upgradeing.
If we can think of a way to this before the
2017 May 17
1
Upgraded > Samba no longer listening on 192.168.0.x
Here goes:
root at debian:~# cat /etc/init.d/samba
#!/bin/sh
### BEGIN INIT INFO
# Provides: samba
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: ensure Samba daemons are started (nmbd and smbd)
### END INIT INFO
set -e
# start nmbd, smbd and samba-ad-dc unconditionally
# the init scripts themselves check if they are needed or not
case $1 in
2015 Oct 04
4
Question Wiki Setup a Samba Active Directory Domain Controller
Hi again,
I refer to
https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller#Testing_your_Samba_Domain_Controller
Thank you for this great wiki! I run all the tests and everything looks
perfect!
I encounter just a little difference here. Actually I thought that there
should be no Master and Workgroup for a AD DC. (as given in the wiki and
in Stefan Kania's book
2017 May 17
4
Upgraded > Samba no longer listening on 192.168.0.x
Hello
Since I last ran "apt-get upgrade" on a Debian host which upgraded Debian to
8.8 and Samba to 4.2.14, Samba is no longer listening on the 192.168.0.x
network after waking up from suspend mode. As a result, it's not listed in
Windows' Network Neighborhood and, thus, not reachable from a Windows host
where a backup job is running that uses the Debian host as a file server.
2015 Oct 05
3
Question Wiki Setup a Samba Active Directory Domain Controller
Hello,
Probably problem is numer 3... see below....
All of them are running after restart of computer:
# /etc/init.d/samba-ad-dc status
● samba-ad-dc.service - LSB: start Samba daemons for the AD DC
Loaded: loaded (/etc/init.d/samba-ad-dc)
Active: active (running) since Son 2015-10-04 23:14:36 CEST; 18h ago
# /etc/init.d/samba status
● samba-ad-dc.service - LSB: start Samba daemons for
2019 Oct 13
4
After upgrading samba 4.5.10 to 4.9.13
Good time!
After upgrading samba 4.5.10 to 4.9.13, name resolution in AD hangs.
# /etc/init.d/samba status
?* status: crashed
But the domain itself works, but hangs when resolving user names.
What can be done?
[2019/10/13 12:24:52.896473, 10, pid=17379, effective(0, 0), real(0, 0),
class=ldb] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
? ldb: Added timed event
2003 Nov 14
4
Setting up Samba
Hi to you all,
I'm setting up a network to where I have Linux and W2k
Active Directory.I have Redhat 8.0 and i want it to
see and access file between the two OS'S. I downloaded
the latest samba binaries 3.0.2 and edit the
smb.conf.How do i know if my linux will act as a samba
server? Should i select "everything" when i load
redhat again or should i just continue what i have
2013 Apr 03
1
Using single hiera hash for two create_resources, and mounting filesystems
I am trying to use the same hiera hash to create the mount point and
mounts. (Would be nice if mount could create the mount points using 3.1.1)
My plan was to define create_mount_points and use create_resources with the
same hash, and just though away what I dont use.... maybe there is a
better means?
Here is the mount class:
class fstab::mounts ( $config = undef ) {
$defaults = {
2012 Mar 30
2
Does create_resources support virtual resources?
Hi all,
I''m interested pushing my user list out of my users manifest and into
Hiera. Unfortunately I haven''t been able to get it to work the way I
thought it would. The error suggests that perhaps create_resources
cannot create virtual resources, but the docs I''ve read so far don''t
address it.
The class (in init.pp):
class users {
$system_users =
2013 Mar 08
5
hiera / create_resources / define
I''m trying to use create_resources to create a series of files with
semi-custom content based on a template.
This is what I have:
foo.conf.erb:
Name "<%= name %>"
WorkingDir "<%= working_dir %>"
... a bunch of static entries
YAML:
configs:
config1:
Name: app1
WorkingDir: /var/app1
config2:
Name: app2
WorkingDir: /var/app2
2013 Jan 11
13
Profiles, Hiera, and create_resources('class','...')
Hi all,
We''ve recently started exploring the role / profile / component module
described by Craig Dunn in his blog here:
http://www.craigdunn.org/2012/05/239/ and discussed on the list the other
day. As I was implementing this for
a profile using the apache module, I realized that I could make another
refinement to our approach by using
2013 Jun 12
2
Executing a script after creating vhosts with create_resources
Hello
I''d love a bit of advice in terms of how I should best go about this.
I am creating a bunch of vhosts, their definitions are stored in json (I''m using heira) that json file will be generated from data held on another server. I''m just using the puppetlabs apache module and create_resources to then generate all the vhosts and their directories etc. I''m
2013 Jul 30
2
Failed to parse template, wrong number of arguments (create_resources)
I''m having some issues trying to track down a problem I''m having parsing a
simple template, using create_resources and Hiera. Here''s my setup
(abridged):
../hieradata/settings.yaml:
*global:*
* variables:*
* env: foo*
*
*
*appSpecific:*
* serverName: someServer*
../modules/test/manifests/init.pp:
*class test {*
* create_resources(test::variables,
2013 Sep 02
0
chaining of create_resources
Hi
I am using create_resource to create a dir and then mount it. I am using
two create_resources and want one to be completed before other.
$mount_point = hiera(''test::mount_point'', [])
$defaults = {
''ensure'' => ''directory'',
}
$mountit = hiera(''test::mountit'')
create_resources (file, $mount_point, $defaults)
2012 Jul 20
2
rspec-puppet and create_resources
Using rspec-puppet should I be able to check for resources created as a
result of a create_resources call within a class?
Regards,
Mark
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bUD_CitDYCAJ.
To post to this group, send email to
2011 Dec 06
1
module can't find other modules
I have these three modules with the following structure:
|-- modules
| |-- create_resources
| | |-- LICENSE
| | |-- Modulefile
| | |-- README
| | |-- lib
| | | `-- puppet
| | | `-- parser
| | | `-- functions
| | | `-- create_resources.rb
| | |-- spec
| | | |-- spec.opts
| | | |-- spec_helper.rb
| | | `-- unit