Displaying 3 results from an estimated 3 matches for "sys_files".
Did you mean:
sysl_files
2002 Feb 28
4
Update to solaris package creation
...39;
- BEGIN { print "i pkginfo" }
- { $5="root"; $6="sys"; }
- { print; }' > prototype
+ BEGIN { print "i pkginfo"; \
+ split("/opt /etc /etc/init.d /etc/rcS.d /etc/rd0.d /etc/rc1.d /etc/rc2.d",sys_files); }
+ {
+ for (dir in sys_files) { if ( $3 != sys_files[dir] )
+ { $5="root"; $6="sys"; }
+ else
+ { $4="?"; $5="?"; $6="?"; break;}
+ } }
+ { print;...
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2004 Apr 30
0
buildpkg.sh enhancements
...i pkginfo"; print "i depend"; \\
+ print "i preinstall"; print "i postinstall"; \\
+ print "i preremove"; print "i postremove"; \\
print "i request"; print "i space"; \\
split("$SYSTEM_DIR",sys_files); }
{
@@ -378,9 +510,27 @@
}
## Step back a directory and now build the package.
-echo "Building package.."
cd ..
+# local prototype tweeks here
+[ -s "${POST_PROTOTYPE_EDITS}" ] && . ${POST_PROTOTYPE_EDITS}
+
+echo "Building package.."
pkgmk -d $...