search for: realize

Displaying 20 results from an estimated 11323 matches for "realize".

Did you mean: realized
2012 Oct 17
4
function logit() vs logistic regression
Hello! When I am analyzing proportion data, I usually apply logistic regression using a glm model with binomial family. For example: m <- glm( cbind("not realized", "realized") ~ v1 + v2 , family="binomial") However, sometimes I don't have the number of cases (realized, not realized), but only the proportion and thus cannot compute the binomial model. I just found out that the package car contains a function "logit" w...
2007 Nov 08
7
Best practice for users/groups on solaris
Hi all, I''m a new puppet user and I''m running into some weirdness around creating users on solaris. (puppet version 0.23.2) The virt_all_users way of managing users seems pretty reasonable, but I don''t see how to deal with user specific groups with that. I have: class virt_all_users { @user { "seph": ensure => "present",
2009 Sep 18
5
Using variables in virtual resources
Hi. I''ve defined a virtual user "kenneth", and depending on a variable in the node definiton I''d like to add the users to different groups. Consider this example: ###### Code start node "server.example.com" { $server_type = "typeA" realize User[kenneth] } @user {"kenneth": ensure => present, uid => 1000, gid => 1000, groups => $server_type ? { typeA => "wheel", default => undef, }, home => "/home/kenneth", shell => "/bin/bash&quo...
2004 May 26
4
how to realize "MLPPP LFI"
Hi,all I am using iproute2/tc to manage bandwidth and control traffic.I must realize these two tricky functions in mips linux(kernel 2.4.17): 1.The device MUST support the capability to fragment AF and BE traffic in order to constrain the perturbing impact of AF and BE packets on EF traffic delay, for example using a mechanism such as MLPPP LFI.(RFC1990) 2. The packet size thresh...
2008 Mar 17
1
Realizing Users in Nodes
I''m trying to work with Users and the realize function, and it''s driving me batty. Puppet is 0.23.2. My definition looks something like: class virtual_users { @user { fred : uid => 500 ... } @user { derf : uid => 501 ... } } node base-node { include virtual_users } node "testnode.domain.local" inherits ba...
2007 Sep 27
12
/etc/passwd
I would like to write up brief tutorial/documentation on how to manage /etc/passwd using puppet. While this may seem pretty straight forward to some...the documentation is not. We have been able to create a manifest that defines all of our users "virtually" and are able to "realize" users and add them to the system(s) running puppetd. Is there a way to simply realize all users in the virtual_users file? Or must I specifically realize each and everyone in a separate class? How do we delete users? Specifically when I remove a user from the manifest it does not get deleted...
2009 Dec 06
3
User Modification
I''m trying to do something like this using puppet 0.24.8. define removeuser() { @ user { $name: ensure => absent } realize User["$name"] } $removelist = ["bob", "bill", "billy"] @ removeuser { $removelist : } It''s failing with "err: Could not retrieve catalog: Failed to realize virtual resources User[bob] on node test". Is this even possible, if not in versi...
2009 Apr 21
1
realizing virtual ssh_authorized_key
...h_authorized_key { "seph-2008": ensure => present, key => "...", type => "ssh-dss", name => "seph@macbook-2008", user => seph, } } class user::unixadmins inherits user::virtual { realize( User["seph"], ssh_authorized_key["seph-2008"], ) } node test { include user::unixadmins } I correctly get the user seph, but not the ssh authorized key. If I switch to a real ssh_authorized_key by removing the @, then it creates /home/seph/.ssh/auth...
2008 May 25
1
n Realizations of a Stochastic Process assigned to dynamically generated variable names?
I am interested in creating multiple (say 1000) time series, from a given stochastic process, of length 250. I want to refer to each realization with its own variable name, of the format say, tsn, where n is the n'th simulation. i.e. ts1, ts2, ts3, ts4, .... , ts1000 The way I am thinking of doing this is placing the following code within another loop, and the 'tsn' assignment should
2007 Jul 02
3
0.23.0 puppet dependancy issue
Hello, I use some define in classes like class foo { define bar() {} } before in .22.4 i had require => Bar[''mybar''] on object and it worked. Now i have : err: Could not apply complete configuration: Could not retrieve dependency ''Shorewall-realize[shorewall.conf]'' at /etc/puppet/manifests/classes/shorewall.pp: for exemple. Do anyone knwo why it fails now as i do not see what in the changelog could have this effect ? -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-u...
2008 Jan 24
1
Can use a Variables when Realizing Resources
hi ,all When realizing a resources ,can use this syntax like this ? File <<| tag == $idc | >> I had try it ,but can''t work. and not get error from the puppetmaster. -- Huang Mingyou
2009 Dec 04
1
cycling k times a realization of a random walk.....problems..
hello R-masters. i have an R-issue here that i don't know if you'd wish to help me? about it: briefly i'd like to generate many (say hundred) realizations of a random walk, execute a few operations on each of them (mean time of return), and graph each realization on the same plot. IN OTHER WORDS I'D LIKE TO IMPOSE A LOOPING CYCLE TO THE COMMAND NOT THE ARGUMENT OF THE COMMAND.
2012 May 14
2
defaults for virtual defined resources from hiera.
...Up to now I''ve had a large file of virtual resources and then enabled them on demand on various services. The very standard. @metric{''1234: one => 1 two => [1,2] } @metric{''abcd'': one => a, two => [b,c] } and then somewhere realize potentially with an override <| title == 1234 |> { one => 2 } metric is something like define metric ($one, $two) { # do stuff. } Attempting to move the data of virtual resources above into hiera now and a few questions. metric1234: one: 1 two: -''1&...
2008 May 30
5
Best practice for user accounts
...users that will only ever occur on one server. I can either make them virtual in the central file, or I can make them real in the per-node file. The former has the attraction that I can make sure that my UID usage is consistent and non-overlapping, while the latter means I can never accidentally realize an account onto a server where it doesn''t belong. Anyone have a suggested best practice for this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em...
2010 Mar 08
1
lapply and list indexing basics (after realizing I wasn't previously subscribed...sorry)
I have split my original dataframe to generate a list of dataframes each of which has 3 columns of factors and a 4th column of numeric data. I would like to use lapply to apply the fitdistr() function to only the 4th column (x$isi) of the dataframes in the list. Is there a way to do this or am I misusing lapply? As a second solution I tried splitting only the numeric data column to yield a
2016 Feb 24
5
Desynced DC
Hi list, We use samba 4.1.17 (debian's version) on several DCs. I just realized that one of them is desynced and cannot get it to resync. The long story: we got 5 DCs splitted over several sites. Recently we had to replace one of them (let's call him DC5). Since both had to run in parallel for data recovery/users work we decided to join a brand new DC (DC6) and latte...
2018 Jun 15
2
[virtio-dev] Re: [Qemu-devel] [PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...presence of the primary, and > > > hot plug the device as needed before or after the migration. > > > > I do not really see how you can manage that kind of stuff in QEMU only. > > So right now failover is limited to pci passthrough devices only. > The idea is to realize the vfio device but not expose it > to guest. Have a separate command to expose it to guest. > Hotunplug would also hide it from guest but not unrealize it. So, this would not be real hot(un)plug, but 'hide it from the guest', right? The concept of "we have it realized in QEMU,...
2007 Aug 22
12
Virtual resource not found
.../manifests/(classes|definitions). test1a:~ $ sudo puppetd --server 10.1.0.70 --test notice: Ignoring cache err: Could not retrieve configuration: Failed to find virtual resources Network_interface[test1a-eth1] warning: Not using cache on failed configuration node test1a inherits test_server { realize Network_interface["test1a-eth1"] } node test_server inherits basenode { include network_dmz_virt } (all basenode classes are working) class network_dmz_virt { $domain = "mydomain.com" $broadcast = "10.1.0.255" $network = "10.1.0.0"...
2016 Nov 24
3
llvm optimizer turning musttail into tail
I've got some calls like: musttail call void bitcast (i32 (i32, i8*, %Type*)* @MyMethod to void (i32, i8*)*)(i32 %0, i8* %1) ret void Into something like: %8 = tail call i32 @MyMethod(i32 %0, i8* %1, %Type* null) ret void I realize I'm losing a parameter there, but this is an interface jump trick I use and relies on the end code being a 'jmp' (x86). I realize i can probably use noopt & noinline to do this trick, but I do want llvm to optimize and inline calls if it can prove it always calls a given method....
2004 Nov 22
0
IFELSE across a 3D array?
Dear all, We are trying to clean multiple realizations of a pattern. Erroneous NODATA and spurious DATA occur in the realizations. As we have to do a 1000 realizations for many patterns, efficiency of the code is important. We need to correct the realizations with a 'mask' pattern of DATA/NODATA. We think an ifelse should do the job. Spurious DATA will be simply removed using the