Displaying 20 results from an estimated 1000 matches similar to: "custom type/provider load error"
2007 Aug 20
1
SimpleTextRecipes
I have copied the simple text snippets into a pp file and set a host to
attempt to add lines, but regardless if the line is there or not, it still
adds it...
what am I doing wrong?
in definitions/linetests.pp:
define append_if_no_such_line($file, $line) {
exec { "echo ''$line'' >> ''$file''":
unless => "grep -qe
2010 Mar 24
1
problems with project property of User resource
Hi,
I wanted to set the project property of a Solaris user after realizing
the user. Have already created the project by adding a line to /etc/
project. The user is created in virtual::user class wich is inherited
by the target class to be able to add the project property. The
project of the user xxxx gets not set properly and remains default
when I use the project property ! Had to fall back
2006 Aug 09
1
Clarification on error_messages_for
Just learning Rails.. So this is probably a noob question. My apologies.
Could anyone please give me a quick summary/example on the usage of
error_messages_for?
I have two tables/models, Group and GroupMembers. Obviously, a Group
has_many GroupMembers. I have a customized view which shows a list of
GroupMembers followed by a field and a button which facilitates adding a
member to the group by
2007 Jan 14
0
file_splice Hack
Hi *!
Here is a hack to emulate cfengines editfiles/Group behaviour.
{{{
$splice_dir = "/var/local/puppet/splice"
file { $splice_dir:
ensure => directory,
tag => "file_splice",
}
# Replace a section marked by
# comment_char {BEGIN,END} pattern
# with the given content
# if checksum is set to "none", no resource is defined for the edited file
define
2010 Mar 17
1
Custom Provider with multiple default targets
Hello,
If I have a custom provider which updates a file. How can I get it to write to 2 files at the same time without coding 2 things within the manifest one with target => and one without ?
So multiple targets as the default_target
Cheers
Paul
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2016 Nov 28
3
Samba on Debian 8; NT4 domain, win10
On Mon, 28 Nov 2016 10:54:55 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2016-11-28 um 10:27 schrieb Rowland Penny via samba:
>
> > Have you read this:
> >
> > https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_%28Classic_Upgrade%29
> >
> > Particularly this part:
> >
> >
2010 Apr 13
2
transpose but different
Hi all,
I want to make extra columns in my datafile where the id of every
groupmember is mentioned in separate columns. To explain it better see the
example:
id<-c(1,2,3,4,5,6,7,8,9,10,11,12)
group<-c(1,1,1,1,2,2,3,3,3,3,3,3)
a<-as.data.frame(cbind(id,group))
a
id group
1 1 1
2 2 1
3 3 1
4 4 1
5 5
2007 Feb 06
14
Unless in exec doesn''t seem to be honored on notify.
This was a fun one to track down...
I was trying to use the append_if_no_such_line script from the wiki and it
was working fine EXCEPT when I threw a notify at it.
The notify appears to completely ignore both unless and onlyif within the
exec for some reason.
If I put the same test in the actual command line, it works fine.
Example:
unless => "/bin/grep -Fqe ''$line''
2007 Jun 20
1
How to handle package conflicts between classes ..
what is the best way to handle package conflicts between classes?
for example, below, i have the following two classes defined and both
include a "package { "perl-LDAP" }", so when used separately they work
as expected but when i need to assign both classes to a node i get a
conflict.
error: "Duplicate definition: Package[perl-LDAP] is already defined"
thanks
2013 Apr 17
1
user both missing and present
I'm trying the classicupgrade, and it is crashing out:
ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception -
ProvisioningError: Could not add member 'S-1-5-21-305843216-174882882-
1673945419-42545' to group 'S-1-5-21-305843216-174882882-1673945419-
1231' as either group or user record doesn't exist: Unable to find GUID
for DN
File
2023 Jul 04
1
Found multiple results for "tga":
I only have a tga user. But it says it has multiple entries.
( ERROR: Failed to add members ['tga'] to group "backup" - Found
multiple results for "tga": )
root at dc0:~# samba-tool group list |grep backup
lpcfg_do_global_parameter: WARNING: The "domain logons" option is
deprecated
ldb_wrap open of secrets.ldb
backup
root at dc0:~# samba-tool user
2016 Feb 28
0
Problem with classicupgrade / ProvisioningError
Hello,
I'm running a Samba 4.3.3 install on FreeBSD 8.4 (ZFS) in domain mode with passdb tdb backend. The databases and config files are the current versions of an install that I think started in the 1.9.x version range back in the late 90s (I can't remember exactly--it's been a long time!) and smbpasswd days. I'm now trying to convert to an AD install using the classicupgrade
2016 Dec 12
0
Samba on Debian 8; NT4 domain, win10
Am 2016-12-09 um 12:21 schrieb Rowland Penny via samba:
> On Fri, 9 Dec 2016 11:11:56 +0100
> "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
>
>> From: "Stefan G. Weichinger via samba" <samba at lists.samba.org>
>> To: samba at lists.samba.org
>> Subject: Re: [Samba] Samba on Debian 8; NT4 domain, win10
>> Date:
2016 Mar 19
0
classicupgrade migration issues
On 19/03/16 17:16, Sonic wrote:
> On Fri, Mar 18, 2016 at 4:04 PM, Andrew Bartlett <abartlet at samba.org> wrote:
>> The upgrade code assumes you run on the same host. I realise now that
>> folks doing an upgrade use that an an opportunity to upgrade hardware,
>> and keep old systems as fallbacks, so the assumptions cause trouble.
>>
>> Make the new host
2016 Mar 19
3
classicupgrade migration issues
On Fri, Mar 18, 2016 at 4:04 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> The upgrade code assumes you run on the same host. I realise now that
> folks doing an upgrade use that an an opportunity to upgrade hardware,
> and keep old systems as fallbacks, so the assumptions cause trouble.
>
> Make the new host identical in terms of the data needed to upgrade
>
2007 Dec 28
4
A simple stand-alone scenario but "public" share doesn´t work
Dear list,
For a simple home-network i recently installed Debian Etch on an extra
machine to act as server. It stores my mail, it acts as
webserver, firewall, dns-, dhcp- and database-server. All of these
services are running like a charm. The only thing left is
to get samba running. Well, it is running, but to get it running how i
want it to is a different matter i suppose, for i am
quite
2011 Jun 17
5
ssh_authorized_key and NIS user
Hi,
I have this resource definition:
ssh_authorized_key { "nagios@login2":
key => [REDACTED]
user => "nagios",
type => "ssh-dss",
require => Service[''nis''],
}
This nagios user comes from NIS, yp.conf and nsswitch.conf are handled by puppet
and configured before the key. I still get an "User does not
2016 Dec 12
2
Samba on Debian 8; NT4 domain, win10
On Mon, 12 Dec 2016 09:04:18 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2016-12-09 um 12:21 schrieb Rowland Penny via samba:
> > On Fri, 9 Dec 2016 11:11:56 +0100
> > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> >
> >> From: "Stefan G. Weichinger via samba" <samba
2007 Jul 02
1
crontab provider in 0.23.0
Hi,
I also met an error in crontabs:
Could not prefetch "NilClass"rovider crontab: undefined method `each''
for nil:NilClass
this is on freeBSD. 0.22.4 was working fine on the very same host. Any
idea ? The crontab binary is there but it seems puppet does not find
the right provider in this version ?
--
Cordialement,
Ghislain
2013 Aug 19
1
samba-tool classicupgrade throws uncaught exception
I have a new server running CentOS 6.4 x64, which will serve as our new
Samba4 server. It is set up in a test environment, and I've copied over the
tdb files and the smb.conf file from our samba3 server (Same OS and
version).
I'm trying to do an in-place upgrade on the copied files, but keep hitting
an assert / uncaught exception during the upgrade:
# /usr/local/samba/bin/samba-tool