10 More Discussions You Might Find Interesting
1. Red Hat
i would like to package up an rpm from pre-installed files, say i have a program called "widget" installed under "/opt/widget"
/opt/widget/bin/*
/opt/widget/lib/*
/opt/widget/etc/*
/opt/widget/log/*
and i want to create an rpm from those already installed files, what would the spec file... (2 Replies)
Discussion started by: melixir
2 Replies
2. UNIX for Dummies Questions & Answers
I m referring below article for creating rpm.
Installation and Setup Rpmbuild Tutorial
As per the document i will need rpmdevtools and rpmlint to begin with.
However i have yum installed and whenever i run them i get below output.
# yum install rpmdevtools rpmlint
Setting up Install Process... (0 Replies)
Discussion started by: pinga123
0 Replies
3. Programming
I would like to package my developed application and deploy it using RPM to my users. Understand that RHEL5 has the following directories created:
/usr/src/redhat/BUILD
/usr/src/redhat/RPMS
/usr/src/redhat/SOURCES
/usr/src/redhat/SPECS
/usr/src/redhat/SRPMS
Using KDevelop as my... (0 Replies)
Discussion started by: tanlccc
0 Replies
4. Red Hat
I would like to package my developed application and deploy it using RPM to my users. Understand that RHEL5 has the following directories created:
/usr/src/redhat/BUILD
/usr/src/redhat/RPMS
/usr/src/redhat/SOURCES
/usr/src/redhat/SPECS
/usr/src/redhat/SRPMS
Using KDevelop as my... (0 Replies)
Discussion started by: tanlccc
0 Replies
5. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
6. Red Hat
Hi All,
I had created a installer (RPM), but later I came across that Netbeans (netbeans-6.9-ml-linux), Flex Builder Linux Alpha (flexbuilder_linux_install_a4_081408.bin) and JDK (jdk-6u20-linux-i586-rpm.bin) dont provide any RPM but they provide a huge binary executable shell script.
My... (0 Replies)
Discussion started by: jw_amp
0 Replies
7. Shell Programming and Scripting
Hi Guru,s/Geek,s
I need help to create RPM names from rpms.
Example :
a2ps-4.14-6.fc10.i386
perl-Email-Find-0.10-2.fc10.noarch
directfb-1.2.7-2.fc10.i386
libid3tag-0.15.1b-7.fc10.i386
apr-util-1.3.7-1.fc10.i386
libquicktime-1.0.3-4.fc10.i386
The Desired Output is :
a2ps... (2 Replies)
Discussion started by: anand.linux1984
2 Replies
8. Linux
Hi guys,
Can anyone tell me, how .tar files could be convert into .RPM package.
Hoping soon replay with positive assistance.
Thanks. (1 Reply)
Discussion started by: daya.pandit
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files.
a) /usr/users/oracle/bin
b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies
10. HP-UX
Hello, I'm quite new to HP-UX and I stumbeled upon some strange behaviour from tar.
I have a script like this:
find -mtime $days -type f|xargs tar cvf tarfile.tar
and it make me a tar file with files that has been changed in $days.
When i run 'tar tf tarfile.tar' it give me output like... (5 Replies)
Discussion started by: oey2000
5 Replies
PUPPET-APPLY(8) Puppet manual PUPPET-APPLY(8)
NAME
puppet-apply - Apply Puppet manifests locally
SYNOPSIS
Applies a standalone Puppet manifest to the local system.
USAGE
puppet apply [-h|--help] [-V|--version] [-d|--debug] [-v|--verbose] [-e|--execute] [--detailed-exitcodes] [-l|--logdest file] [--apply cat-
alog] [--catalog catalog] file
DESCRIPTION
This is the standalone puppet execution tool; use it to apply individual manifests.
When provided with a modulepath, via command line or config file, puppet apply can effectively mimic the catalog that would be served by
puppet master with access to the same modules, although there are some subtle differences. When combined with scheduling and an automated
system for pushing manifests, this can be used to implement a serverless Puppet site.
Most users should use 'puppet agent' and 'puppet master' for site-wide manifests.
OPTIONS
Note that any configuration parameter that's valid in the configuration file is also a valid long argument. For example, 'modulepath' is a
valid configuration parameter, so you can specify '--tags class,tag' as an argument.
See the configuration file documentation at http://docs.puppetlabs.com/references/stable/configuration.html for the full list of acceptable
parameters. A commented list of all configuration options can also be generated by running puppet with '--genconfig'.
--debug
Enable full debugging.
--detailed-exitcodes
Provide transaction information via exit codes. If this is enabled, an exit code of '2' means there were changes, an exit code of
'4' means there were failures during the transaction, and an exit code of '6' means there were both changes and failures.
--help Print this help message
--loadclasses
Load any stored classes. 'puppet agent' caches configured classes (usually at /etc/puppet/classes.txt), and setting this option
causes all of those classes to be set in your puppet manifest.
--logdest
Where to send messages. Choose between syslog, the console, and a log file. Defaults to sending messages to the console.
--execute
Execute a specific piece of Puppet code
--verbose
Print extra information.
--apply
Apply a JSON catalog (such as one generated with 'puppet master --compile'). You can either specify a JSON file or pipe in JSON from
standard input. Deprecated, please use --catalog instead.
--catalog
Apply a JSON catalog (such as one generated with 'puppet master --compile'). You can either specify a JSON file or pipe in JSON from
standard input.
EXAMPLE
$ puppet apply -l /tmp/manifest.log manifest.pp
$ puppet apply --modulepath=/root/dev/modules -e "include ntpd::server"
$ puppet apply --catalog catalog.json
AUTHOR
Luke Kanies
COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License
Puppet Labs, LLC June 2012 PUPPET-APPLY(8)